-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
GSoC’22 project: Guided Tours #39902
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
Merged
Merged
Changes from all commits
Commits
Show all changes
420 commits
Select commit
Hold shift + click to select a range
9dbac05
Updated Copyright year
khu5h1 33a794e
Clean up / Minor fixes (1) (#29)
heelc29 12d1c48
Added focus on targets for better accessibility (#54)
obuisard 44df3d8
Update com_guidedtours.ini
obuisard 519a881
Update com_guidedtours.sys.ini
obuisard 406fc11
Update extensions.sql
obuisard af1b6b2
Update extensions.sql
obuisard cc95234
Update 4.3.0-2022-07-30.sql
obuisard 88631f2
Update 4.3.0-2022-07-30.sql
obuisard f0de0b9
Convert module to services (#30)
heelc29 cbbf389
Module fixes (#55)
obuisard 7424c9a
Fixed Step Permission (#56)
khu5h1 d353fd6
Created Empty State for Tours (#58)
khu5h1 d898628
Update guide.css
obuisard 5f0e690
Update guide.es5.js
obuisard eccfbec
Update guide.css
obuisard 68bc807
Reordering of the steps according to tour_id (#57)
khu5h1 0ff2779
Corrected String value
khu5h1 fd52f42
Fixes (#68)
khu5h1 eb9786b
Bug fixes new (#84)
aze088 a62712e
Misc fixes (#59)
obuisard c31615b
Update administrator/components/com_guidedtours/src/Controller/StepCo…
khu5h1 ebc3d2f
Update administrator/components/com_guidedtours/src/Model/StepModel.php
khu5h1 df983b0
Update administrator/components/com_guidedtours/src/Model/StepsModel.php
khu5h1 ce04a24
Update administrator/components/com_guidedtours/forms/filter_tours.xml
khu5h1 eabfbbe
Update administrator/components/com_guidedtours/forms/filter_tours.xml
khu5h1 06b219c
Update administrator/components/com_guidedtours/forms/step.xml
khu5h1 158e446
Update administrator/components/com_guidedtours/forms/step.xml
khu5h1 0095ba5
Update administrator/components/com_guidedtours/forms/step.xml
khu5h1 755313a
Update administrator/components/com_guidedtours/forms/step.xml
khu5h1 6d1e0d6
Update administrator/components/com_guidedtours/forms/tour.xml
khu5h1 9896303
Update administrator/language/en-GB/com_guidedtours.ini
khu5h1 f63b1bf
Update administrator/language/en-GB/com_guidedtours.ini
khu5h1 004d154
Update administrator/components/com_guidedtours/tmpl/tours/default.php
khu5h1 faa68fd
Update default.php
obuisard e7ac560
Language keys in tours cannot be overridden (#90)
obuisard b09a716
Craeted functionality for tours duplication along with its steps
khu5h1 0e3f1ac
Created functionality for tours duplication along with its steps
khu5h1 8f5d5d3
Merge branch 'infra-guided-tour' of https://github.com/joomla-project…
khu5h1 e620d12
Merge branch 'tour-duplication' of https://github.com/joomla-projects…
khu5h1 f7af12d
Update administrator/language/en-GB/com_guidedtours.ini
khu5h1 69e85b5
Update administrator/components/com_guidedtours/src/Controller/ToursC…
khu5h1 da9b138
Update administrator/components/com_guidedtours/src/Model/TourModel.php
khu5h1 4a972d6
Step count (#92)
obuisard 0f27634
Miscellaneous fixes for saving of tours and steps (#93)
obuisard abb9f11
Update administrator/components/com_guidedtours/tmpl/steps/default.php
khu5h1 3906c2f
Update administrator/components/com_guidedtours/forms/filter_tours.xml
khu5h1 9e1695d
Merge branch 'infra-guided-tour' of https://github.com/joomla-project…
khu5h1 d0bd732
Merge branch 'tour-duplication' of https://github.com/joomla-projects…
khu5h1 160d48a
Added default title value
khu5h1 cd698b7
Corrected Error String
khu5h1 f47b879
Comment Correction
khu5h1 bdc02ba
Steps Filter (#96)
brianteeman b452fda
Steps Width (#94)
brianteeman 3449013
Merge branch 'infra-guided-tour' into tour-duplication
obuisard bb0dff6
Created functionality for tours duplication along with its steps (#91)
khu5h1 4ed815b
Merge branch 'tour-duplication' of https://github.com/joomla-projects…
khu5h1 d89ed78
Custom admin menu (#97)
brianteeman 6ae9e15
Merge branch 'infra-guided-tour' of https://github.com/joomla-project…
khu5h1 84bc513
Language keys simplified implementation (#99)
obuisard 20b2c7a
Step order (#100)
obuisard 31ee828
Check ins (#102)
obuisard a326d1d
Merge branch 'infra-guided-tour' of https://github.com/joomla-project…
khu5h1 664bca4
Module improvements (#101)
obuisard da96f40
Bug fixes for language and access (#103)
obuisard 46e77c0
Miscellaneous fixes (#98)
obuisard 1e4665c
DB Table name
brianteeman e6933d8
deploy since
brianteeman af99319
Update administrator/modules/mod_guidedtours/tmpl/default.php
khu5h1 7adbe27
Merge branch 'infra-guided-tour' of https://github.com/joomla-project…
khu5h1 09304ad
Merge pull request #111 from brianteeman/deploy
khu5h1 6a100a9
Merge branch 'infra-guided-tour' of https://github.com/joomla-project…
khu5h1 2276fb6
Fix display of tabs
brianteeman 3bf59d1
Merge pull request #112 from brianteeman/main_card
khu5h1 a5d5d12
Merge branch 'infra-guided-tour' of https://github.com/joomla-project…
khu5h1 1b69a77
Merge pull request #107 from brianteeman/db-fix
khu5h1 1f39196
Help Buttons (#113)
brianteeman d3484d1
Complete the removal of step_no (#106)
brianteeman 5ab7ec6
Tours Table Caption (#105)
brianteeman a0c1767
module modal (#104)
brianteeman ef0f643
Miscellaneous fixes 2 (#114)
obuisard ed6a47e
edit view consistency
brianteeman deded50
Merge pull request #115 from brianteeman/cards
khu5h1 46c721f
Miscellaneous fixes (#118)
obuisard a0cfe14
Language Strings
brianteeman 44843fc
Merge pull request #119 from brianteeman/language
khu5h1 e1574a3
add inline help (#120)
brianteeman d47cfed
Step permissions removal - new plugin - javascript fixes (#121)
obuisard 553983b
Miscellaneous fixes 4 (#122)
obuisard 590f578
Fix new plugin
brianteeman a881706
Merge pull request #123 from brianteeman/plugin_check
khu5h1 a7c8f56
Plugin and assets fixes (#126)
brianteeman 877ae2d
Miscellaneous fixes 5 (#127)
obuisard 5f0dfee
Update sql script (#128)
khu5h1 e993c1a
Shepherd update (#129)
obuisard cfb0638
Position default is center
obuisard cb49f63
Reduce inline onchange usage [searchtools] (#116)
brianteeman 5cb37ad
Merge branch '4.3-dev' of https://github.com/obuisard/joomla-cms into…
obuisard bdcbba1
Update base.sql
obuisard 519d09e
Update base.sql
obuisard 29596c1
Update base.sql
obuisard 58809b0
Update base.sql
obuisard f3dbdcd
Update StepsController.php
obuisard 324e59b
Update ToursController.php
obuisard 497eae3
Update StepModel.php
obuisard 31c7177
Update StepModel.php
obuisard 01d2bf0
Update StepModel.php
obuisard fd1c0a5
Update TourTable.php
obuisard 5958454
Update GuidedTours.php
obuisard 669ecca
Update GuidedToursHelper.php
obuisard 5817752
Update HtmlView.php
obuisard d30f2b6
Update GuidedtoursHelper.php
obuisard 274d60e
Update TourModel.php
obuisard b686841
Update StepsModel.php
obuisard e5a61ba
Update ToursModel.php
obuisard ab5322b
Update provider.php
obuisard 69942a3
Update provider.php
obuisard 7ea57c0
Update TourModel.php
obuisard 7bb27f4
Update TourModel.php
obuisard 130c135
Update StepModel.php
obuisard 56558f8
Update TourModel.php
obuisard bf9a034
Update provider.php
obuisard 3256fd4
Update ToursModel.php
obuisard c6e0aa3
Update TourModel.php
obuisard 6d82de5
Update TourModel.php
obuisard 584f893
Update provider.php
obuisard 95768c6
Modern JS
dgrammatiko 217dbe4
Update administrator/components/com_guidedtours/forms/filter_tours.xml
obuisard 16668ce
Update administrator/language/en-GB/com_guidedtours.ini
obuisard 1a03b8d
Improved getEmptyStateQuery
obuisard 0f38dc1
Removed publish function
obuisard 1f5201d
Fixed getTable
obuisard 87946ae
Use of getCurrentUser
obuisard 03dccc4
Unused variable
obuisard d012c72
Use of Route for redirect
obuisard d075526
Update administrator/components/com_guidedtours/forms/step.xml
obuisard 79368a3
binary operator spaces fix
obuisard 84bc528
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard b1a7423
Cancel method useless
obuisard 310d2f5
Display function moved to DisplayController
obuisard 592d23c
Display function with step and tour edit check
obuisard 42042b7
Removed unused use statements
obuisard 9b986c1
Merge pull request #6 from dgrammatiko/4.3-dev-g-t
obuisard 5d59f59
Iterate through indices of tabindex
obuisard 0d2f253
Update build/media_source/plg_system_guidedtours/scss/guidedtours.scss
obuisard c195302
tabIndex fix
obuisard fe2f413
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard 5a35723
Removed space
obuisard e2e48f0
Re-introduce Bootstrap dropdown removed during refactoring
obuisard 40137c7
Update administrator/components/com_guidedtours/forms/tour.xml
obuisard 369e0cf
Update administrator/components/com_guidedtours/forms/tour.xml
obuisard 3fe5029
Improved type explanations
obuisard 5c2c0d2
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard f14cae1
Use web asset manager rather than HTMLHelper
obuisard 749ebc8
Added disabled class when button is disabled
obuisard 1e1500e
Adjustments mobile views
obuisard bef2261
Removed create/edit own permissions from tours
obuisard 2a341c3
Update administrator/components/com_guidedtours/tmpl/steps/default.php
obuisard a2e676e
Update administrator/components/com_guidedtours/tmpl/steps/default.php
obuisard 635083d
Update administrator/components/com_guidedtours/tmpl/tours/default.php
obuisard cee9992
Update administrator/components/com_guidedtours/tmpl/tours/default.php
obuisard 0638124
Renamed Interactive Step to Interactive Type
obuisard b9c421b
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard 2ac3252
Notes field should be last
obuisard ab20c8e
Update administrator/components/com_guidedtours/tmpl/steps/default.php
obuisard cf4bf13
Update administrator/components/com_guidedtours/tmpl/tours/default.php
obuisard f1ceec1
Update administrator/components/com_guidedtours/tmpl/tours/default.php
obuisard 904b349
fancy select fields improved target
obuisard dc48486
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard 48bc6d5
Removed focus override
obuisard eacd69b
Merge branch '4.3-dev' into 4.3-dev
QuyTon dbb1019
Modified Editor targets
obuisard 97396a6
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard f877697
Added support for multi selectors in target
obuisard 7069a6f
Update administrator/components/com_guidedtours/tmpl/steps/default.php
obuisard 2121f9c
Update build/media_source/plg_system_guidedtours/js/guidedtours.es6.js
obuisard 6447a45
Fixed back button may open /null page
obuisard a0730de
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard 6271e09
Changed comment wording
obuisard bb0298e
Offset the popup from the elements it points to
obuisard 58eee67
eslint rule issues
obuisard 569e30d
Removed useless test on cancelbutton
obuisard 570ce52
Update com_guidedtours.sys.ini
obuisard 01880a1
Catch errors in promise to prevent guided tours to stop in case a tar…
obuisard ac6ef34
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard 245239c
Removed 'successfully'
obuisard 575a846
Primary button uses the template's style for proper contrast
obuisard 7df9182
Missing parenthesis
obuisard ac6ab0e
Removed exclamation points
obuisard 01e0e9e
Hide the module wherever hidemainmenu is set to true
obuisard 0f7da24
Removed useless paragraphs
obuisard 0c4fd83
Update administrator/language/en-GB/com_guidedtours.sys.ini
obuisard 9983a7c
Update administrator/modules/mod_guidedtours/tmpl/default.php
obuisard 0207d0d
Checked_out should be NULL, not 0
obuisard 9fc95f0
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard da84a1b
Multiple fancy selects are accessible
obuisard bad7302
The first step cannot have id of '0'
obuisard 8766ca1
No guided tour on the login screen after session refresh
obuisard ee512e5
Update GuidedTours.php
obuisard 738b593
Removed typos
obuisard af8c51b
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard d95638e
Fixed wrong commit error
obuisard 4fb3c32
Update administrator/components/com_guidedtours/forms/filter_steps.xml
obuisard fef73f8
Update administrator/components/com_guidedtours/src/Helper/Guidedtour…
obuisard b8bd924
Update administrator/components/com_guidedtours/forms/step.xml
obuisard 731c46b
Update administrator/components/com_guidedtours/forms/step.xml
obuisard 4d1434c
++ removal
obuisard 36220da
Merge remote-tracking branch 'origin/4.3-dev' into 4.3-dev
obuisard 8157391
Removed ESLint comment
obuisard b37a1c7
Missing semi-colon
obuisard c19b98a
Improved wording
obuisard f52afad
Use of token to limit the tours to the current session
obuisard 9d0b69f
Updates install the module
obuisard 145aec7
Tour model name change
obuisard fb9a045
Removed getTourTitle and getTourLanguage to use the model instead
obuisard 2048b62
Use TourModel to get the tour title
obuisard 2a86640
Use TourModel to get the tour language
obuisard b964035
Removed occurences of StepHelper
obuisard a29983d
Removed occurences of Multilanguage
obuisard 115db2f
Merge branch '4.3-dev' into 4.3-dev
Hackwar 5466287
Update administrator/components/com_guidedtours/src/Model/StepsModel.php
obuisard bf1a90f
Update administrator/components/com_guidedtours/src/Model/StepModel.php
obuisard 448706a
Update administrator/components/com_guidedtours/src/Controller/Displa…
obuisard 0ef2a20
UTF-8 replacements
obuisard 580b36d
Update administrator/components/com_guidedtours/forms/step.xml
obuisard 6d49885
Update administrator/components/com_guidedtours/forms/tour.xml
obuisard 897a61d
Update administrator/components/com_guidedtours/src/Model/ToursModel.php
obuisard 4b72b7e
Added spaces
obuisard 72d1e56
Spaces
obuisard c36e09b
Update administrator/components/com_guidedtours/tmpl/tours/default.php
obuisard 9e84462
Update administrator/components/com_guidedtours/tmpl/tours/default.php
obuisard bfa9464
Update administrator/components/com_guidedtours/tmpl/steps/default.php
obuisard 38481bf
Use btn classes to get the focus visually
obuisard 5b41654
Removed text-info class on modal links
obuisard fd06126
Addition of 'step X of Y' in the modal
obuisard f43c696
Limit image size to popup
obuisard f2cd286
Links in modal should have underline
obuisard 1105252
shepherd.js no longer needed
obuisard 9922d1d
Added aria-live to the modal to force screen readers to only read the…
obuisard 4ef740c
Added loop through the modal links and buttons
obuisard 6982d71
Put Shepherd back or else build breaks
obuisard 32fa96e
Merge branch '4.3-dev' into 4.3-dev
obuisard 75a2790
Update package.json
obuisard 4b03b92
Test moved to top
obuisard b64813c
Simplified canDelete
obuisard f303f4a
Simplified canEditState
obuisard 48bb095
tour_id use of form->getInput
obuisard e53a904
Set tour_id in the model, not in the edit form
obuisard 629975b
getReorderConditions is unnecessary
obuisard 15c4258
Merge branch '4.3-dev' into 4.3-dev
obuisard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
214 changes: 214 additions & 0 deletions
214
administrator/components/com_admin/sql/updates/mysql/4.3.0-2023-02-15.sql
Large diffs are not rendered by default.
Oops, something went wrong.
222 changes: 222 additions & 0 deletions
222
administrator/components/com_admin/sql/updates/postgresql/4.3.0-2023-02-15.sql
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <access component="com_guidedtours"> | ||
| <section name="component"> | ||
| <action name="core.admin" title="JACTION_ADMIN" /> | ||
| <action name="core.options" title="JACTION_OPTIONS" /> | ||
| <action name="core.manage" title="JACTION_MANAGE" /> | ||
| <action name="core.create" title="JACTION_CREATE" /> | ||
| <action name="core.delete" title="JACTION_DELETE" /> | ||
| <action name="core.edit" title="JACTION_EDIT" /> | ||
| <action name="core.edit.state" title="JACTION_EDITSTATE" /> | ||
| <action name="core.edit.own" title="JACTION_EDITOWN" /> | ||
| </section> | ||
| <section name="tour"> | ||
| <action name="core.delete" title="JACTION_DELETE" /> | ||
| <action name="core.edit" title="JACTION_EDIT" /> | ||
| <action name="core.edit.state" title="JACTION_EDITSTATE" /> | ||
| </section> | ||
| </access> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <config> | ||
| <fieldset | ||
| name="permissions" | ||
| label="JCONFIG_PERMISSIONS_LABEL" | ||
| description="JCONFIG_PERMISSIONS_DESC" | ||
| > | ||
| <field | ||
| name="rules" | ||
| type="rules" | ||
| label="JCONFIG_PERMISSIONS_LABEL" | ||
| validate="rules" | ||
| filter="rules" | ||
| component="com_guidedtours" | ||
| section="component" | ||
| /> | ||
| </fieldset> | ||
| </config> |
50 changes: 50 additions & 0 deletions
50
administrator/components/com_guidedtours/forms/filter_steps.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <form> | ||
| <fields name="filter"> | ||
| <field | ||
| name="search" | ||
| type="text" | ||
| label="COM_GUIDEDTOURS_STEP_FILTER_SEARCH_LABEL" | ||
| description="COM_GUIDEDTOURS_STEP_FILTER_SEARCH_DESC" | ||
| inputmode="search" | ||
| hint="JSEARCH_FILTER" | ||
| /> | ||
| <field | ||
| name="published" | ||
| type="status" | ||
| label="JOPTION_SELECT_PUBLISHED" | ||
| class="js-select-submit-on-change" | ||
| > | ||
| <option value="">JOPTION_SELECT_PUBLISHED</option> | ||
| </field> | ||
| </fields> | ||
|
|
||
| <fields name="list"> | ||
| <field | ||
| name="fullordering" | ||
| type="list" | ||
| label="JGLOBAL_SORT_BY" | ||
| class="js-select-submit-on-change" | ||
| default="a.ordering ASC" | ||
| validate="options" | ||
| > | ||
| <option value="">JGLOBAL_SORT_BY</option> | ||
| <option value="a.ordering ASC">JGRID_HEADING_ORDERING_ASC</option> | ||
| <option value="a.ordering DESC">JGRID_HEADING_ORDERING_DESC</option> | ||
| <option value="a.published ASC">JSTATUS_ASC</option> | ||
| <option value="a.published DESC">JSTATUS_DESC</option> | ||
| <option value="a.type ASC">COM_GUIDEDTOURS_ORDER_TYPE_ASC</option> | ||
| <option value="a.type DESC">COM_GUIDEDTOURS_ORDER_TYPE_DESC</option> | ||
| <option value="a.id ASC">JGRID_HEADING_ID_ASC</option> | ||
| <option value="a.id DESC">JGRID_HEADING_ID_DESC</option> | ||
| </field> | ||
|
|
||
| <field | ||
| name="limit" | ||
| type="limitbox" | ||
| label="JGLOBAL_LIST_LIMIT" | ||
| default="25" | ||
| class="js-select-submit-on-change" | ||
| /> | ||
| </fields> | ||
| </form> |
68 changes: 68 additions & 0 deletions
68
administrator/components/com_guidedtours/forms/filter_tours.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <form> | ||
| <fields name="filter"> | ||
| <field | ||
| name="search" | ||
| type="text" | ||
| label="COM_GUIDEDTOURS_FILTER_SEARCH_LABEL" | ||
| description="COM_GUIDEDTOURS_FILTER_SEARCH_DESC" | ||
| inputmode="search" | ||
| hint="JSEARCH_FILTER" | ||
| /> | ||
| <field | ||
| name="published" | ||
| type="status" | ||
| label="JOPTION_SELECT_PUBLISHED" | ||
| class="js-select-submit-on-change" | ||
| > | ||
| <option value="">JOPTION_SELECT_PUBLISHED</option> | ||
| </field> | ||
| <field | ||
| name="access" | ||
| type="accesslevel" | ||
| label="JGRID_HEADING_ACCESS" | ||
| class="js-select-submit-on-change" | ||
| > | ||
| <option value="">JOPTION_SELECT_ACCESS</option> | ||
| </field> | ||
| <field | ||
| name="language" | ||
| type="contentlanguage" | ||
| label="JGRID_HEADING_LANGUAGE" | ||
| class="js-select-submit-on-change" | ||
| > | ||
| <option value="">JOPTION_SELECT_LANGUAGE</option> | ||
| <option value="*">JALL</option> | ||
| </field> | ||
| </fields> | ||
|
|
||
| <fields name="list"> | ||
| <field | ||
| name="fullordering" | ||
| type="list" | ||
| label="JGLOBAL_SORT_BY" | ||
| class="js-select-submit-on-change" | ||
| default="a.ordering ASC" | ||
| validate="options" | ||
| > | ||
| <option value="">JGLOBAL_SORT_BY</option> | ||
| <option value="a.ordering ASC">JGRID_HEADING_ORDERING_ASC</option> | ||
| <option value="a.ordering DESC">JGRID_HEADING_ORDERING_DESC</option> | ||
| <option value="a.published ASC">JSTATUS_ASC</option> | ||
| <option value="a.published DESC">JSTATUS_DESC</option> | ||
| <option value="a.access ASC">JGRID_HEADING_ACCESS_ASC</option> | ||
| <option value="a.access DESC">JGRID_HEADING_ACCESS_DESC</option> | ||
| <option value="a.language ASC" requires="multilanguage">JGRID_HEADING_LANGUAGE_ASC</option> | ||
| <option value="a.language DESC" requires="multilanguage">JGRID_HEADING_LANGUAGE_DESC</option> | ||
| <option value="a.id ASC">JGRID_HEADING_ID_ASC</option> | ||
| <option value="a.id DESC">JGRID_HEADING_ID_DESC</option> | ||
| </field> | ||
| <field | ||
| name="limit" | ||
| type="limitbox" | ||
| label="JGLOBAL_LIST_LIMIT" | ||
| default="25" | ||
| class="js-select-submit-on-change" | ||
| /> | ||
| </fields> | ||
| </form> |
192 changes: 192 additions & 0 deletions
192
administrator/components/com_guidedtours/forms/step.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,192 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <form addfieldprefix="Joomla\Component\Guidedtours\Administrator\Field"> | ||
| <config> | ||
| <inlinehelp button="show"/> | ||
| </config> | ||
| <field | ||
| name="id" | ||
| type="text" | ||
| label="JGLOBAL_FIELD_ID_LABEL" | ||
| default="0" | ||
| class="readonly" | ||
| readonly="true" | ||
| /> | ||
|
|
||
| <field | ||
| name="position" | ||
| type="list" | ||
| label="COM_GUIDEDTOURS_STEP_POSITION_LABEL" | ||
| description="COM_GUIDEDTOURS_STEP_POSITION_DESC" | ||
| default="center" | ||
| validate="options" | ||
| > | ||
| <option value="bottom">JGLOBAL_BOTTOM</option> | ||
| <option value="center">JGLOBAL_CENTER</option> | ||
| <option value="left">JGLOBAL_LEFT</option> | ||
| <option value="right">JGLOBAL_RIGHT</option> | ||
| <option value="top">JGLOBAL_TOP</option> | ||
| </field> | ||
|
|
||
| <field | ||
| name="target" | ||
| type="text" | ||
| label="COM_GUIDEDTOURS_STEP_TARGET_LABEL" | ||
| description="COM_GUIDEDTOURS_STEP_TARGET_DESC" | ||
| /> | ||
|
|
||
| <field | ||
| name="tour_id" | ||
| type="hidden" | ||
| class="readonly" | ||
| readonly="true" | ||
| /> | ||
|
|
||
| <field | ||
| name="title" | ||
| type="text" | ||
| label="COM_GUIDEDTOURS_STEP_TITLE" | ||
| required="true" | ||
| /> | ||
|
|
||
| <field | ||
| name="title_translation" | ||
| type="text" | ||
| label="JGLOBAL_TITLE" | ||
| readonly="true" | ||
| /> | ||
|
|
||
| <field | ||
| name="description" | ||
| type="editor" | ||
| label="JGLOBAL_DESCRIPTION" | ||
| filter="JComponentHelper::filterText" | ||
| buttons="true" | ||
| hide="readmore,pagebreak,module,menu,fields,contact,article" | ||
| /> | ||
|
|
||
| <field | ||
| name="description_translation" | ||
| type="editor" | ||
| label="JGLOBAL_DESCRIPTION" | ||
| filter="JComponentHelper::filterText" | ||
| buttons="false" | ||
| readonly="true" | ||
| /> | ||
|
|
||
| <field | ||
| name="published" | ||
| type="list" | ||
| label="JSTATUS" | ||
| default="1" | ||
| class="form-select-color-state" | ||
| validate="options" | ||
| > | ||
| <option value="1">JPUBLISHED</option> | ||
| <option value="0">JUNPUBLISHED</option> | ||
| <option value="2">JARCHIVED</option> | ||
| <option value="-2">JTRASHED</option> | ||
| </field> | ||
|
|
||
| <field | ||
| name="type" | ||
| type="list" | ||
| label="COM_GUIDEDTOURS_STEP_TYPE_LABEL" | ||
| description="COM_GUIDEDTOURS_STEP_TYPE_DESC" | ||
| default="0" | ||
| validate="options" | ||
| > | ||
| <option value="0">COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_NEXT</option> | ||
| <option value="1">COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_REDIRECT</option> | ||
| <option value="2">COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_INTERACTIVE</option> | ||
| </field> | ||
|
|
||
| <field | ||
| name="url" | ||
| type="url" | ||
| label="COM_GUIDEDTOURS_TYPE_REDIRECT_URL_LABEL" | ||
| description="COM_GUIDEDTOURS_TYPE_REDIRECT_URL_DESC" | ||
| showon="type:1" | ||
| filter="string" | ||
| /> | ||
|
|
||
| <field | ||
| name="interactive_type" | ||
| type="list" | ||
| label="COM_GUIDEDTOURS_TYPE_INTERACTIVE_STEP_LABEL" | ||
| description="COM_GUIDEDTOURS_TYPE_INTERACTIVE_STEP_DESC" | ||
| showon="type:2" | ||
| filter="string" | ||
| validate="options" | ||
| > | ||
| <option value="1">COM_GUIDEDTOURS_FIELD_VALUE_INTERACTIVESTEP_TYPE_FORM_SUBMIT</option> | ||
| <option value="2">COM_GUIDEDTOURS_FIELD_VALUE_INTERACTIVESTEP_TYPE_TEXT_FIELD</option> | ||
| <option value="4">COM_GUIDEDTOURS_FIELD_VALUE_INTERACTIVESTEP_TYPE_BUTTON</option> | ||
| <option value="3">COM_GUIDEDTOURS_FIELD_VALUE_INTERACTIVESTEP_TYPE_OTHER</option> | ||
| </field> | ||
|
|
||
| <field | ||
| name="checked_out" | ||
| type="hidden" | ||
| filter="unset" | ||
| /> | ||
|
|
||
| <field | ||
| name="checked_out_time" | ||
| type="hidden" | ||
| filter="unset" | ||
| /> | ||
|
|
||
| <field | ||
| name="created_by" | ||
| type="user" | ||
| label="JGLOBAL_FIELD_CREATED_BY_LABEL" | ||
| validate="UserId" | ||
| /> | ||
|
|
||
| <field | ||
| name="created" | ||
| type="calendar" | ||
| label="JGLOBAL_CREATED_DATE" | ||
| translateformat="true" | ||
| showtime="true" | ||
| filter="user_utc" | ||
| /> | ||
|
|
||
| <field | ||
| name="modified_by" | ||
| type="user" | ||
| label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" | ||
| class="readonly" | ||
| readonly="true" | ||
| filter="unset" | ||
| validate="UserId" | ||
| /> | ||
|
|
||
| <field | ||
| name="modified" | ||
| type="calendar" | ||
| label="JGLOBAL_FIELD_MODIFIED_LABEL" | ||
| class="readonly" | ||
| readonly="true" | ||
| translateformat="true" | ||
| showtime="true" | ||
| filter="user_utc" | ||
| /> | ||
|
|
||
| <field | ||
| name="language" | ||
| type="contentlanguage" | ||
| label="JFIELD_LANGUAGE_LABEL" | ||
| default="*" | ||
| > | ||
| <option value="*">JALL</option> | ||
| </field> | ||
|
|
||
| <field | ||
| name="note" | ||
| type="text" | ||
| label="COM_GUIDEDTOURS_FIELD_NOTE_LABEL" | ||
| maxlength="255" | ||
| /> | ||
|
|
||
| </form> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.