Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2] [Guided tours] Add missing auto start parameter in the user interface of tours #43690

Merged
merged 7 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions administrator/components/com_guidedtours/forms/tour.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,16 @@
>
<option value="*">JALL</option>
</field>

<field
name="autostart"
type="radio"
layout="joomla.form.field.radio.switcher"
label="COM_GUIDEDTOURS_AUTOSTART_LABEL"
description="COM_GUIDEDTOURS_AUTOSTART_DESC"
default="0"
obuisard marked this conversation as resolved.
Show resolved Hide resolved
>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
</form>
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
'access',
'language',
'extensions',
'autostart',
'note',
];

Expand Down
2 changes: 2 additions & 0 deletions administrator/language/en-GB/com_guidedtours.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
; Note : All ini files need to be saved as UTF-8

COM_GUIDEDTOURS="Guided Tours"
COM_GUIDEDTOURS_AUTOSTART_DESC="Start the tour automatically when a user reaches the context in which the tour should be displayed."
COM_GUIDEDTOURS_AUTOSTART_LABEL="Auto Start"
COM_GUIDEDTOURS_CONFIGURATION="Guided Tours: Options"
COM_GUIDEDTOURS_DESCRIPTION="Description"
COM_GUIDEDTOURS_DESCRIPTION_TRANSLATION="Description (%s)"
Expand Down