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

Add Guided Tours auto start parameter in the user interface of tours #43690

Draft
wants to merge 6 commits into
base: 5.2-dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all 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"
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