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.1] Guided tours welcome tour #41659

Merged
merged 73 commits into from Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
ff564f5
Added welcome tour.
obuisard Sep 7, 2023
125c67d
Added welcome tour.
obuisard Sep 7, 2023
422d2dd
If autostart tour present, start it in priority
obuisard Sep 7, 2023
6b746b0
Temporary code to auto-start the welcome tour
obuisard Sep 7, 2023
6d41321
Added function setAutostart
obuisard Sep 7, 2023
66a298b
Update GuidedTours.php
obuisard Sep 7, 2023
622e0ba
Change column alias to uid
obuisard Sep 7, 2023
ce953a0
Make the autostart available when getting the tour
obuisard Sep 8, 2023
5ac66b6
Update GuidedTours.php
obuisard Sep 8, 2023
2aed459
Update guidedtours.joomla_welcome.ini
obuisard Sep 13, 2023
22a9904
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 13, 2023
fb732b7
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 13, 2023
e040218
Update guidedtours.joomla_welcome.ini
obuisard Sep 13, 2023
467ab69
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 13, 2023
d9af378
Update guidedtours.joomla_welcome.ini
obuisard Sep 13, 2023
1a0e84b
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 13, 2023
c6c30a9
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 13, 2023
de42648
Merge branch '5.0-dev' into guided-tours-welcome-tour
obuisard Sep 15, 2023
41f621b
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 16, 2023
211378f
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 18, 2023
2867aa1
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 18, 2023
7aa193b
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 18, 2023
4516b25
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 18, 2023
8496514
Merge branch '5.0-dev' into guided-tours-welcome-tour
obuisard Sep 18, 2023
db9d7ef
Merge branch '5.0-dev' into guided-tours-welcome-tour
HLeithner Sep 21, 2023
46d62f1
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 21, 2023
b70bf4c
Merge branch '5.0-dev' into guided-tours-welcome-tour
obuisard Sep 21, 2023
d620629
Update guidedtours.joomla_welcome.ini
obuisard Sep 21, 2023
10d5f74
Update 5.0.0-2023-09-07.sql
obuisard Sep 21, 2023
46804ac
Update 5.0.0-2023-09-07.sql
obuisard Sep 21, 2023
e60057e
Update extensions.sql
obuisard Sep 21, 2023
06bccf2
Update extensions.sql
obuisard Sep 21, 2023
7bf19e7
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 21, 2023
39d4d8c
Renamed files for the SQL to be updated properly
obuisard Sep 21, 2023
86e7127
Update 5.0.0-2023-09-21.sql
obuisard Sep 22, 2023
b863b2b
Update 5.0.0-2023-09-21.sql
obuisard Sep 22, 2023
448208f
Update extensions.sql
obuisard Sep 22, 2023
b7c5379
Update extensions.sql
obuisard Sep 22, 2023
0418213
Update Installation.cy.js
obuisard Sep 22, 2023
d3c84a3
Merge branch '5.0-dev' into guided-tours-welcome-tour
obuisard Sep 22, 2023
3c1bd2f
Update 5.0.0-2023-09-21.sql
obuisard Sep 23, 2023
9e55913
Update 5.0.0-2023-09-21.sql
obuisard Sep 23, 2023
a68d505
Update extensions.sql
obuisard Sep 23, 2023
7a508ea
Update extensions.sql
obuisard Sep 23, 2023
1362175
Update guidedtours.joomla_welcome_steps.ini
obuisard Sep 23, 2023
1c7612f
Merge branch '5.1-dev' into guided-tours-welcome-tour
laoneo Dec 19, 2023
81a3be5
Merge branch '5.1-dev' into guided-tours-welcome-tour
Hackwar Feb 20, 2024
9737ecd
Rename 5.0.0-2023-09-21.sql to 5.1.0-2024-03-08.sql
obuisard Mar 8, 2024
0c30834
Rename 5.0.0-2023-09-21.sql to 5.1.0-2024-03-08.sql
obuisard Mar 8, 2024
dbef2df
Merge branch '5.1-dev' into guided-tours-welcome-tour
obuisard Mar 8, 2024
62a86c5
Update cypress tests
bembelimen Mar 11, 2024
02178ec
Cypress update
bembelimen Mar 11, 2024
1b7035e
Improve test
bembelimen Mar 11, 2024
5587adc
Remove unneded (and broken) tests
bembelimen Mar 11, 2024
e12e82c
Merge branch '5.1-dev' into guided-tours-welcome-tour
bembelimen Mar 11, 2024
b49071b
Fix article creation to avoid deprecations
bembelimen Mar 13, 2024
b7a52f1
Merge branch 'guided-tours-welcome-tour' of https://github.com/obuisa…
bembelimen Mar 13, 2024
3ebcaef
Merge branch '5.1-dev' into guided-tours-welcome-tour
Quy Mar 13, 2024
dfd65f1
Fix notice from unit test
bembelimen Mar 13, 2024
10fc1ee
Merge branch 'guided-tours-welcome-tour' of https://github.com/obuisa…
bembelimen Mar 13, 2024
b01a818
Fix tests
bembelimen Mar 13, 2024
0ccdd56
Fix CS
bembelimen Mar 13, 2024
9807868
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
de1ce3a
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
a96f58c
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
193855e
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
a1dc990
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
ff03f78
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
49d9bdb
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
380a7dc
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
99871ab
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
8941bed
Update administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
bembelimen Mar 13, 2024
cec73c0
Merge branch '5.1-dev' into guided-tours-welcome-tour
LadySolveig Mar 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,13 @@
INSERT IGNORE INTO `#__guidedtour_steps` (`tour_id`, `title`, `published`, `description`, `ordering`, `position`, `target`, `type`, `interactive_type`, `url`, `created`, `created_by`, `modified`, `modified_by`, `language`) VALUES
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_DESCRIPTION', 1, 'right', '#sidebarmenu', 0, 1, '', CURRENT_TIMESTAMP(), 0, CURRENT_TIMESTAMP(), 0, '*'),
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_DESCRIPTION', 2, 'right', '#sidebarmenu', 0, 1, '', CURRENT_TIMESTAMP(), 0, CURRENT_TIMESTAMP(), 0, '*'),
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_DESCRIPTION', 3, 'left', '.module-wrapper:has(#plg_quickicon_joomlaupdate),#plg_quickicon_joomlaupdate', 0, 1, '', CURRENT_TIMESTAMP(), 0, CURRENT_TIMESTAMP(), 0, '*'),
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_TOPBAR_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_TOPBAR_DESCRIPTION', 4, 'bottom', '#header', 0, 1, '', CURRENT_TIMESTAMP(), 0, CURRENT_TIMESTAMP(), 0, '*'),
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_FINALWORDS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_FINALWORDS_DESCRIPTION', 5, 'center', '', 0, 1, '', CURRENT_TIMESTAMP(), 0, CURRENT_TIMESTAMP(), 0, '*');

ALTER TABLE `#__guidedtours` ADD COLUMN `autostart` int NOT NULL DEFAULT 0 /** CAN FAIL **/;

INSERT IGNORE INTO `#__guidedtours` (`title`, `uid`, `description`, `ordering`, `extensions`, `url`, `created`, `created_by`, `modified`, `modified_by`, `published`, `language`, `access`, `autostart`) VALUES
('COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_TITLE', 'joomla-welcome', 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_DESCRIPTION', 1, '["com_cpanel"]', 'administrator/index.php', CURRENT_TIMESTAMP(), 0, CURRENT_TIMESTAMP(), 0, 1, '*', 1, 0);

UPDATE `#__guidedtour_steps` SET `tour_id` = LAST_INSERT_ID() WHERE `tour_id`=0;
@@ -0,0 +1,15 @@
INSERT IGNORE INTO "#__guidedtour_steps" ("tour_id", "title", "published", "description", "ordering", "position", "target", "type", "interactive_type", "url", "created", "created_by", "modified", "modified_by", "language") VALUES
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_DESCRIPTION', 1, 'right', '#sidebarmenu', 0, 1, '', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0, '*'),
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_DESCRIPTION', 2, 'right', '#sidebarmenu', 0, 1, '', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0, '*'),
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_DESCRIPTION', 3, 'left', '.module-wrapper:has(#plg_quickicon_joomlaupdate),#plg_quickicon_joomlaupdate', 0, 1, '', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0, '*'),
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_TOPBAR_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_TOPBAR_DESCRIPTION', 4, 'bottom', '#header', 0, 1, '', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0, '*'),
(0, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_FINALWORDS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_FINALWORDS_DESCRIPTION', 5, 'center', '', 0, 1, '', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0, '*')
ON CONFLICT DO NOTHING;

ALTER TABLE "#__guidedtours" ADD COLUMN "autostart" int NOT NULL DEFAULT 0 /** CAN FAIL **/;

INSERT IGNORE INTO "#__guidedtours" ("title", "uid", "description", "ordering", "extensions", "url", "created", "created_by", "modified", "modified_by", "published", "language", "access", "autostart") VALUES
('COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_TITLE', 'joomla-welcome', 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_DESCRIPTION', 1, '["com_cpanel"]', 'administrator/index.php', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0, 1, '*', 1, 0)
ON CONFLICT DO NOTHING;

UPDATE "#__guidedtour_steps" SET "tour_id" = currval(pg_get_serial_sequence('#__guidedtours','id')) WHERE "tour_id"=0;
23 changes: 23 additions & 0 deletions administrator/components/com_guidedtours/src/Model/TourModel.php
Expand Up @@ -497,4 +497,27 @@ protected function setStepsLanguage(int $id, string $language = '*'): bool
return $db->setQuery($query)
->execute();
}

/**
* Sets a tour's autostart value
*
* @param int $id Id of a tour
* @param int $autostart The autostart value of a tour
*
* @since 5.0.0
*/
public function setAutostart($id, $autostart)
{
$db = $this->getDatabase();

$query = $db->getQuery(true)
->update($db->quoteName('#__guidedtours'))
->set($db->quoteName('autostart') . ' = :autostart')
->where($db->quoteName('id') . ' = :tourId')
->bind(':autostart', $autostart, ParameterType::INTEGER)
->bind(':tourId', $id, ParameterType::INTEGER);

$db->setQuery($query);
$db->execute();
}
}
2 changes: 2 additions & 0 deletions administrator/language/en-GB/guidedtours.joomla_welcome.ini
@@ -0,0 +1,2 @@
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_TITLE="Welcome to Joomla!"
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_DESCRIPTION="<p><em>Congratulations</em>, the most important step is done: you have installed Joomla! Now the fun part can start.</p><p>This is called “The Backend” of your Joomla installation, otherwise known as the “Administrator” area. <br>Here you have the power to configure and manage your whole Joomla website.</p><p>Now fasten your seatbelts to become a Joomla Administrator!</p>"
obuisard marked this conversation as resolved.
Show resolved Hide resolved
obuisard marked this conversation as resolved.
Show resolved Hide resolved
14 changes: 14 additions & 0 deletions administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini
@@ -0,0 +1,14 @@
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_TITLE="The menu"
bembelimen marked this conversation as resolved.
Show resolved Hide resolved
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_DESCRIPTION="<p>The menu is the heart of the backend. Ever get lost? Use the “Home Dashboard” link to come to this page. </p><p>The help section at the bottom is close at hand, giving you access to useful information and a community of volunteers.</p><p>The menu also gives access to the most essential areas of Joomla!, like your articles and menus. If you’re missing something in the menu, try the “System” link, to access additional areas of the backend.</p>"

COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_TITLE="The quick access sections"
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_DESCRIPTION="<p>On the dashboard you can also quick access the most key areas by clicking on their icons. Many extensions also have their own dashboards for additional information. Just click on the dashboard icon ( <span class=\"icon-th-large\" aria-hidden=\"true\"> </span>) at each of the different extension menu items.</p><p>Adjust your dashboard sections by clicking on the specific cogs\' icon ( <span class=\"icon-cogs\" aria-hidden=\"true\"> </span>).</p>"

COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_TITLE="The notifications"
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_DESCRIPTION="<p>Need a quick overview of the status of your installation? Check out the “Notifications” section. It shows if updates for Joomla! are available as well as your other extensions. Any outstanding tasks are also shown here.</p>"

COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_TOPBAR_TITLE="The top bar"
bembelimen marked this conversation as resolved.
Show resolved Hide resolved
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_TOPBAR_DESCRIPTION="<p>Want to learn more about Joomla!? All available tours are at the top. Also, you can see your current Joomla version, and you can manage your user account.</p><p>Feel free to roam through the backend, and don’t forget: if you get stuck, either check out the available tours or come back to the dashboard.</p>"

COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_FINALWORDS_TITLE="Final words"
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_FINALWORDS_DESCRIPTION="<p>One last thing: Joomla! is built by volunteers! </p><p>We have many resources available where you can learn more, get support or become involved in Joomla itself. Wouldn’t it be amazing if your ideas make it into the next Joomla Version? Join our awesome and welcoming community and help make Joomla the best Joomla ever. </p><ul><li><span><a href=\"https://joomlacommunity.cloud.mattermost.com\" target=\"_blank\" rel=\"nofollow noopener\">Chat and get help on Mattermost</a></span></li><li><span><a href=\"https://forum.joomla.org\" target=\"_blank\" rel=\"nofollow noopener\">Get help in the forum</a> </span></li><li><span><a href=\"https://github.com/joomla/joomla-cms\" target=\"_blank\" rel=\"nofollow noopener\">Report, create and test with Github</a></span></li></ul><p>Ready, steady, GO!</p>"
Expand Up @@ -483,7 +483,13 @@ document.querySelector('body').addEventListener('click', (event) => {
});

// Start a given tour
const tourId = sessionStorage.getItem('tourId');
let tourId = sessionStorage.getItem('tourId');

// Autostart tours have priority
if (Joomla.getOptions('com_guidedtours.autotour', '') !== '') {
sessionStorage.setItem('tourToken', String(Joomla.getOptions('com_guidedtours.token')));
tourId = Joomla.getOptions('com_guidedtours.autotour');
}

if ((Number.parseInt(tourId, 10) > 0 || tourId !== '') && sessionStorage.getItem('tourToken') === String(Joomla.getOptions('com_guidedtours.token'))) {
loadTour(tourId);
Expand Down
34 changes: 21 additions & 13 deletions installation/sql/mysql/extensions.sql
Expand Up @@ -969,6 +969,7 @@ CREATE TABLE IF NOT EXISTS `#__guidedtours` (
`language` varchar(7) NOT NULL,
`note` varchar(255) NOT NULL DEFAULT '',
`access` int unsigned NOT NULL DEFAULT 0,
`autostart` int NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
KEY `idx_access` (`access`),
KEY `idx_state` (`published`),
Expand All @@ -980,18 +981,19 @@ CREATE TABLE IF NOT EXISTS `#__guidedtours` (
-- Dumping data for table `#__guidedtours`
--

INSERT INTO `#__guidedtours` (`id`, `title`, `uid`, `description`, `ordering`, `extensions`, `url`, `created`, `created_by`, `modified`, `modified_by`, `checked_out_time`, `checked_out`, `published`, `language`, `access`) VALUES
(1, 'COM_GUIDEDTOURS_TOUR_GUIDEDTOURS_TITLE', 'joomla-guidedtours', 'COM_GUIDEDTOURS_TOUR_GUIDEDTOURS_DESCRIPTION', 1, '["com_guidedtours"]', 'administrator/index.php?option=com_guidedtours&view=tours', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(2, 'COM_GUIDEDTOURS_TOUR_GUIDEDTOURSTEPS_TITLE', 'joomla-guidedtoursteps', 'COM_GUIDEDTOURS_TOUR_GUIDEDTOURSTEPS_DESCRIPTION', 2, '["com_guidedtours"]', 'administrator/index.php?option=com_guidedtours&view=tours', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(3, 'COM_GUIDEDTOURS_TOUR_ARTICLES_TITLE', 'joomla-articles', 'COM_GUIDEDTOURS_TOUR_ARTICLES_DESCRIPTION', 3, '["com_content","com_categories"]', 'administrator/index.php?option=com_content&view=articles', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(4, 'COM_GUIDEDTOURS_TOUR_CATEGORIES_TITLE', 'joomla-categories', 'COM_GUIDEDTOURS_TOUR_CATEGORIES_DESCRIPTION', 4, '["com_content","com_categories"]', 'administrator/index.php?option=com_categories&view=categories&extension=com_content', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(5, 'COM_GUIDEDTOURS_TOUR_MENUS_TITLE', 'joomla-menus', 'COM_GUIDEDTOURS_TOUR_MENUS_DESCRIPTION', 5, '["com_menus"]', 'administrator/index.php?option=com_menus&view=menus', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(6, 'COM_GUIDEDTOURS_TOUR_TAGS_TITLE', 'joomla-tags', 'COM_GUIDEDTOURS_TOUR_TAGS_DESCRIPTION', 6, '["com_tags"]', 'administrator/index.php?option=com_tags&view=tags', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(7, 'COM_GUIDEDTOURS_TOUR_BANNERS_TITLE', 'joomla-banners', 'COM_GUIDEDTOURS_TOUR_BANNERS_DESCRIPTION', 7, '["com_banners"]', 'administrator/index.php?option=com_banners&view=banners', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(8, 'COM_GUIDEDTOURS_TOUR_CONTACTS_TITLE', 'joomla-contacts', 'COM_GUIDEDTOURS_TOUR_CONTACTS_DESCRIPTION', 8, '["com_contact"]', 'administrator/index.php?option=com_contact&view=contacts', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(9, 'COM_GUIDEDTOURS_TOUR_NEWSFEEDS_TITLE', 'joomla-newsfeeds', 'COM_GUIDEDTOURS_TOUR_NEWSFEEDS_DESCRIPTION', 9, '["com_newsfeeds"]', 'administrator/index.php?option=com_newsfeeds&view=newsfeeds', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(10, 'COM_GUIDEDTOURS_TOUR_SMARTSEARCH_TITLE', 'joomla-smartsearch', 'COM_GUIDEDTOURS_TOUR_SMARTSEARCH_DESCRIPTION', 10, '["com_finder"]', 'administrator/index.php?option=com_finder&view=filters', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1),
(11, 'COM_GUIDEDTOURS_TOUR_USERS_TITLE', 'joomla-users', 'COM_GUIDEDTOURS_TOUR_USERS_DESCRIPTION', 11, '["com_users"]', 'administrator/index.php?option=com_users&view=users', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1);
INSERT INTO `#__guidedtours` (`id`, `title`, `uid`, `description`, `ordering`, `extensions`, `url`, `created`, `created_by`, `modified`, `modified_by`, `checked_out_time`, `checked_out`, `published`, `language`, `access`, `autostart`) VALUES
(1, 'COM_GUIDEDTOURS_TOUR_GUIDEDTOURS_TITLE', 'joomla-guidedtours', 'COM_GUIDEDTOURS_TOUR_GUIDEDTOURS_DESCRIPTION', 1, '["com_guidedtours"]', 'administrator/index.php?option=com_guidedtours&view=tours', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(2, 'COM_GUIDEDTOURS_TOUR_GUIDEDTOURSTEPS_TITLE', 'joomla-guidedtoursteps', 'COM_GUIDEDTOURS_TOUR_GUIDEDTOURSTEPS_DESCRIPTION', 2, '["com_guidedtours"]', 'administrator/index.php?option=com_guidedtours&view=tours', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(3, 'COM_GUIDEDTOURS_TOUR_ARTICLES_TITLE', 'joomla-articles', 'COM_GUIDEDTOURS_TOUR_ARTICLES_DESCRIPTION', 3, '["com_content","com_categories"]', 'administrator/index.php?option=com_content&view=articles', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(4, 'COM_GUIDEDTOURS_TOUR_CATEGORIES_TITLE', 'joomla-categories', 'COM_GUIDEDTOURS_TOUR_CATEGORIES_DESCRIPTION', 4, '["com_content","com_categories"]', 'administrator/index.php?option=com_categories&view=categories&extension=com_content', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(5, 'COM_GUIDEDTOURS_TOUR_MENUS_TITLE', 'joomla-menus', 'COM_GUIDEDTOURS_TOUR_MENUS_DESCRIPTION', 5, '["com_menus"]', 'administrator/index.php?option=com_menus&view=menus', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(6, 'COM_GUIDEDTOURS_TOUR_TAGS_TITLE', 'joomla-tags', 'COM_GUIDEDTOURS_TOUR_TAGS_DESCRIPTION', 6, '["com_tags"]', 'administrator/index.php?option=com_tags&view=tags', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(7, 'COM_GUIDEDTOURS_TOUR_BANNERS_TITLE', 'joomla-banners', 'COM_GUIDEDTOURS_TOUR_BANNERS_DESCRIPTION', 7, '["com_banners"]', 'administrator/index.php?option=com_banners&view=banners', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(8, 'COM_GUIDEDTOURS_TOUR_CONTACTS_TITLE', 'joomla-contacts', 'COM_GUIDEDTOURS_TOUR_CONTACTS_DESCRIPTION', 8, '["com_contact"]', 'administrator/index.php?option=com_contact&view=contacts', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(9, 'COM_GUIDEDTOURS_TOUR_NEWSFEEDS_TITLE', 'joomla-newsfeeds', 'COM_GUIDEDTOURS_TOUR_NEWSFEEDS_DESCRIPTION', 9, '["com_newsfeeds"]', 'administrator/index.php?option=com_newsfeeds&view=newsfeeds', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(10, 'COM_GUIDEDTOURS_TOUR_SMARTSEARCH_TITLE', 'joomla-smartsearch', 'COM_GUIDEDTOURS_TOUR_SMARTSEARCH_DESCRIPTION', 10, '["com_finder"]', 'administrator/index.php?option=com_finder&view=filters', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(11, 'COM_GUIDEDTOURS_TOUR_USERS_TITLE', 'joomla-users', 'COM_GUIDEDTOURS_TOUR_USERS_DESCRIPTION', 11, '["com_users"]', 'administrator/index.php?option=com_users&view=users', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 0),
(12, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_TITLE', 'joomla-welcome', 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_DESCRIPTION', 12, '["com_cpanel"]', 'administrator/index.php', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, NULL, NULL, 1, '*', 1, 1);

-- --------------------------------------------------------

Expand Down Expand Up @@ -1150,4 +1152,10 @@ INSERT INTO `#__guidedtour_steps` (`id`, `tour_id`, `title`, `published`, `descr
(108, 11, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_STATUS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_STATUS_DESCRIPTION', 108, 'top', '#jform_block0', 2, 3, 'administrator/index.php?option=com_users&view=user&layout=edit', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*'),
(109, 11, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_PASSWORDRESET_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_PASSWORDRESET_DESCRIPTION', 109, 'top', '#jform_requireReset0', 2, 3, 'administrator/index.php?option=com_users&view=user&layout=edit', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*'),
(110, 11, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_SAVECLOSE_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_SAVECLOSE_DESCRIPTION', 110, 'bottom', '#save-group-children-save .button-save', 2, 1, 'administrator/index.php?option=com_users&view=user&layout=edit', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*'),
(111, 11, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_CONGRATULATIONS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_CONGRATULATIONS_DESCRIPTION', 111, 'bottom', '', 0, 1, 'administrator/index.php?option=com_users&view=user&layout=edit', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*');
(111, 11, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_CONGRATULATIONS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_USERS_STEP_CONGRATULATIONS_DESCRIPTION', 111, 'bottom', '', 0, 1, 'administrator/index.php?option=com_users&view=user&layout=edit', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*'),

(112, 12, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_DESCRIPTION', 112, 'right', '#sidebarmenu', 0, 1, '', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*'),
(113, 12, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_DESCRIPTION', 113, 'right', '#sidebarmenu', 0, 1, '', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*'),
(114, 12, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_DESCRIPTION', 114, 'left', '.module-wrapper:has(#plg_quickicon_joomlaupdate),#plg_quickicon_joomlaupdate', 0, 1, '', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*'),
(115, 12, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_TOPBAR_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_TOPBAR_DESCRIPTION', 115, 'bottom', '#header', 0, 1, '', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*'),
(116, 12, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_FINALWORDS_TITLE', 1, 'COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_FINALWORDS_DESCRIPTION', 116, 'center', '', 0, 1, '', CURRENT_TIMESTAMP(), 42, CURRENT_TIMESTAMP(), 42, '*');