Skip to content

Commit

Permalink
[5.2] [Guided tours] Add missing auto start parameter in the user int…
Browse files Browse the repository at this point in the history
…erface of tours (#43690)

Co-authored-by: Brian Teeman <brian@teeman.net>
  • Loading branch information
obuisard and brianteeman authored Jul 24, 2024
1 parent 3cbf8f6 commit f47b621
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
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"
label="COM_GUIDEDTOURS_AUTOSTART_LABEL"
description="COM_GUIDEDTOURS_AUTOSTART_DESC"
layout="joomla.form.field.radio.switcher"
default="0"
>
<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

0 comments on commit f47b621

Please sign in to comment.