Menu generátor je modul pre správu a zobrazenie menu zo stránok v systéme.
Vložením značky: {menu} do stránok. Parametre pre špecifické zobrazenie menu si pozrite nižšie.
{menu}
Menu Manager uses templates for display logic. It comes with three default templates called cssmenu.tpl, minimal_menu.tpl and simple_navigation.tpl. They all basically create a simple unordered list of pages, using different classes and ID's for styling with CSS.
Note that you style the look of the menus with CSS. Stylesheets are not included with Menu Manager, but must be attached to the page template separately. For the cssmenu.tpl template to work in IE you must also insert a link to the JavaScript in the head section of the page template, which is necessary for the hover effect to work in IE.
If you would like to make a specialized version of a template, you can easily import into the database and then edit it directly inside the CMSMS admin. To do this:
Now you can easily modify the template to your needs for this site. Put in classes, id's and other tags so that the formatting is exactly what you want. Now, you can insert it into your site with {menu template='Test Template'}. Note that the .tpl extension must be included if a file template is used.
The parameters for the $node object used in the template are as follows: