With the help of the Wizard module, setup or training units can be realized for employees in the form of page-based wizards. There are also pre-loadable wizards for Xentral itself, e.g. for system setup.
Wizards are created in the form of JSON code and assigned to individual owners. This way they can also be switched active / inactive. Here is an example of a wizard with some available options:
{<br></br> "settings": {<br></br> "user_id": "1",<br></br> "active": true,<br></br> "key": "firstrun",<br></br> "title": "Einrichtungsassistent",<br></br> "skip_link_text": "Einrichtung überspringen",<br></br> "params": {<br></br> "shop_id": 1<br></br> }<br></br> },<br></br> "steps": <a href="<br" target="_blank"> /> {<br></br> "key": "grundeinstellungen",<br></br> "link": "./index.php?module=firmendaten&action=edit#tabs-1",<br></br> "title": "Grundeinstellungen",<br></br> "caption": "Meine Firmen-Informationen pflegen ",<br></br> "description": "Bitte tragen Sie hier Ihren Firmennamen und bla bla ein. ",<br></br> "position": 1<br></br> },<br></br> {<br></br> "key": "briefkopf",<br></br> "link": "./index.php?module=firmendaten&action=edit#tabs-2",<br></br> "title": "Briefkopf einrichten",<br></br> "caption": "Aussehen der Geschäftsbriefe anpassen",<br></br> "position": 2,<br></br> "options": {<br></br> "highlight": </a><a href="<br" target="_blank"> /> "breite_position",<br></br> "breite_nummer"<br></br> </a><br></br> }<br></br> },<br></br> {<br></br> "key": "artikel",<br></br> "link": "./index.php?module=artikel&action=list",<br></br> "title": "Artikel pflegen",<br></br> "caption": "Beispiel mit Modul-Callback",<br></br> "position": 3,<br></br> "description": "Beispiel mit Modul-Callback. Anforderungen:<br></br>Callback-Methode muss public sein und Rückgabe muss zu bool wandelbar sein.",<br></br> "options": {<br></br> "check_callback": {<br></br> "module_name": "Wizard",<br></br> "module_action": "CheckArticlesProvidedCallback",<br></br> "args": <a href="<br" target="_blank"> /> "Wert für erstes Callback-Argument",<br></br> "Zweites Argument mit ##shop_id## Parameter"<br></br> </a><br></br> }<br></br> }<br></br> },<br></br> {<br></br> "key": "adressen",<br></br> "link": "./index.php?module=adresse&action=list",<br></br> "title": "Adressen pflegen",<br></br> "caption": "Beispiel mit Objekt-Protokoll-Prüfung",<br></br> "position": 4,<br></br> "options": {<br></br> "check_protocol": {<br></br> "object_name": "shop",<br></br> "action_name": "shop_created",<br></br> "object_id": "##shop_id##"<br></br> }<br></br> }<br></br> }<br></br>}
The maximum text length for field 'description' is 1024 characters. The wizard content scrolls if the content is too high or too many steps are deposited.
The following CSS formatting for elements are available- ol, ul, li -> lists and enumerations.
-
h4, h5, h6 -> headings
-
p -> paragraph formatting
-
i, em, b, strong -> text markup
-
a -> hyperlinks
-
span' at field 'caption' as markup