= Menu = A slice of type Menu will display links to the pages available inside ACR.[[BR]] Each menu level will be rendered as a group of ''li'' inside an ''ul'' with ''menu_level_X'' class.[[BR]] So first level menu will have menu_level_1 class, its children will have menu_level_2 and so on.[[BR]] Currently selected page will have ''acr_menu_selected'' class[[BR]] The menu itself will be rendered inside a div with ''horizontal_menu'' or ''vertical_menu'' class == Preview == not implemented == Use == * view: '''menu''' * content: '''ini''' == INI == Starts with a '''[menu]''' section and must contain the following variables * '''align''' = [horizontal|vertical] (horizontal menu can only have depth=1) * '''depth''' = how many levels of children to display * '''root''' = [root|current|parent|page_id] (''root'' will display pages tree starting from pages without a parent, ''current'' will display pages children of the current page, ''parent'' will display pages children of the current page parent if there is one, or children of the current page is there isn't a parent, ''page_id'' means that if you set root equal to the uri of an existing page you will show the children of that page) == Example == Content must have an ini-like syntax inside a '''[menu]''' group {{{ [menu] align=horizontal depth=1 root=root }}}