Yannick Warnier 7a0e0a87da Extend the tour plugin with French translation - refs #7279 há 10 anos atrás
..
ajax 0c02ca4c12 Improve code style in Tour plugin - refs #7279 há 10 anos atrás
config 609fa1ecbd Extend the tour plugin with additional pages. Still missing a few translations for Spanish and French - refs #7279 há 10 anos atrás
intro.js 738b30936f Fix the Nassim theme style - refs #7279 há 10 anos atrás
lang 7a0e0a87da Extend the tour plugin with French translation - refs #7279 há 10 anos atrás
src 0c02ca4c12 Improve code style in Tour plugin - refs #7279 há 10 anos atrás
views 8f58c486ee Add the option to set the theme for the plugin - refs #7279 há 10 anos atrás
README.md 7624e664b4 Minor - Update the readme files - refs #7279 há 10 anos atrás
config.php 609fa1ecbd Extend the tour plugin with additional pages. Still missing a few translations for Spanish and French - refs #7279 há 10 anos atrás
index.php 0c02ca4c12 Improve code style in Tour plugin - refs #7279 há 10 anos atrás
install.php 0c02ca4c12 Improve code style in Tour plugin - refs #7279 há 10 anos atrás
plugin.php 0c02ca4c12 Improve code style in Tour plugin - refs #7279 há 10 anos atrás
readme.txt 7624e664b4 Minor - Update the readme files - refs #7279 há 10 anos atrás
uninstall.php 0c02ca4c12 Improve code style in Tour plugin - refs #7279 há 10 anos atrás

README.md

Chamilo Tour Plugin

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

To set the steps in a page, add an object like this:

{
    "pageClass": "page unique class selector",
    "steps": [
        {
            "elementSelector": "element class or id",
            "message": "LanguageVariable"
        },
        {
            "elementSelector": "element class or id",
            "message": "LanguageVariable"
        },
    ]
}

Then set the language variables inside the plugin/tour/lang/$language.php file

Set a region to plugin

You must assign a Region to Tour plugin in the Configuration Settings Choose preferably header_right