From 8b2de0311ff2ebfb713cef68023f370ec4a11a4a Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 14 Oct 2014 17:23:01 -0500 Subject: [PATCH] Set the initial homepage tour - refs #7279 --- plugin/tour/config/tour.json | 41 +++++++++--------------------------- plugin/tour/lang/english.php | 8 +++++++ plugin/tour/lang/spanish.php | 8 +++++++ 3 files changed, 26 insertions(+), 31 deletions(-) diff --git a/plugin/tour/config/tour.json b/plugin/tour/config/tour.json index 47917f9ff2..b92b064ca8 100644 --- a/plugin/tour/config/tour.json +++ b/plugin/tour/config/tour.json @@ -3,49 +3,28 @@ "pageClass": ".section-mycampus", "steps": [ { - "elementSelector": "#user_image_block", - "message": "UserImageStep" - }, - { - "elementSelector": "#profile_block", - "message": "UserProfileStep" + "elementSelector": "#logo", + "message": "TheLogoStep" }, { - "elementSelector": "#course_block", - "message": "CourseBlockStep" + "elementSelector": ".navbar", + "message": "TheNavbarStep" }, { - "elementSelector": "#help_block", - "message": "HelpBlockStep" + "elementSelector": "div.span3:nth-child(1)", + "message": "TheRightPanelStep" }, - { - "elementSelector": "#homepage", - "message": "HomepageStep" - }, - { - "elementSelector": "#hot_courses", - "message": "HotCoursesStep" - } - ] - }, - { - "pageClass": ".section-mycourses", - "steps": [ { "elementSelector": "#user_image_block", - "message": "UserImageStep" + "message": "TheUserImageBlock" }, { "elementSelector": "#profile_block", - "message": "UserProfileStep" + "message": "TheProfileBlock" }, { - "elementSelector": "#course_block", - "message": "CourseBlockStep" - }, - { - "elementSelector": "#main_content", - "message": "MainContentStep" + "elementSelector": "#homepage", + "message": "TheHomePageStep" } ] } diff --git a/plugin/tour/lang/english.php b/plugin/tour/lang/english.php index 8add1bd552..1644568649 100644 --- a/plugin/tour/lang/english.php +++ b/plugin/tour/lang/english.php @@ -27,3 +27,11 @@ $strings['Next'] = 'Next'; $strings['Prev'] = 'Prev'; $strings['Done'] = 'Done'; $strings['StartButtonText'] = 'Start the tour'; + +/* String for the steps */ +$strings['TheLogoStep'] = 'Welcome to Chamilo LMS 1.9.x'; +$strings['TheNavbarStep'] = 'Menu bar with main tools.'; +$strings['TheRightPanelStep'] = 'Sidebar panel.'; +$strings['TheUserImageBlock'] = 'Your profile photo.'; +$strings['TheProfileBlock'] = 'Your profile tools: Inbox, Compose, Pending invitations, Edit.'; +$strings['TheHomePageStep'] = 'This is the initial homepage.'; diff --git a/plugin/tour/lang/spanish.php b/plugin/tour/lang/spanish.php index f6f7f2b878..a5a6336a3c 100644 --- a/plugin/tour/lang/spanish.php +++ b/plugin/tour/lang/spanish.php @@ -27,3 +27,11 @@ $strings['Next'] = 'Siguiente'; $strings['Prev'] = 'Anterior'; $strings['Done'] = 'Hecho'; $strings['StartButtonText'] = 'Empezar el recorrido'; + +/* String for the steps */ +$strings['TheLogoStep'] = 'Bienvenido a Chamilo LMS 1.9.x.'; +$strings['TheNavbarStep'] = 'Barra de herramientas con principales herramientas.'; +$strings['TheRightPanelStep'] = 'Pane lateral.'; +$strings['TheUserImageBlock'] = 'Tu foto de perfil.'; +$strings['TheProfileBlock'] = 'Herramientas de perfil: Bandeja de entrada, Nuevo mensaje, Invitaciones pendientes, Editar perfil.'; +$strings['TheHomePageStep'] = 'Esta es la página de inicio.';