|
|
|
|
@ -5,7 +5,7 @@ Shows people how to use your Chamilo LMS |
|
|
|
|
|
|
|
|
|
# Set the blocks for the tour |
|
|
|
|
|
|
|
|
|
Edit the plugin/tour/config/tour.json file adding the page classes and steps |
|
|
|
|
Edit the `plugin/tour/config/tour.json` file adding the page classes and steps |
|
|
|
|
|
|
|
|
|
To set the steps in a page, add a object like this: |
|
|
|
|
``` |
|
|
|
|
@ -14,12 +14,13 @@ To set the steps in a page, add a object like this: |
|
|
|
|
"steps": [ |
|
|
|
|
{ |
|
|
|
|
"elementSelector": "element class or id", |
|
|
|
|
"message": "Language variable" |
|
|
|
|
"message": "LanguageVariable" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"elementSelector": "element class or id", |
|
|
|
|
"message": "Language variable" |
|
|
|
|
"message": "LanguageVariable" |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
``` |
|
|
|
|
Then set the language variables inside the `plugin/tour/lang/$language.php` file |