Table Of Contents [Hide] |
NODE - A pageID - The page IDTEXT - The page name (i.e. what should normally be displayed in the menu)TITLE - The full page titleURL - The page URLENABLED - Whether the page is enabledSELECTED - Whether the page is selectedBREADCRUMB - Whether the page is in the current breadcrumbSEPARATOR - Whether the node is a separatorICON - The URL of the page iconLARGEIMAGE - The URL of the large page icon (DNN 6 only)FIRST - Whether the page is the first in its levelLAST - Whether the page is the last in its levelONLY - Whether the page is the only one in its levelDEPTH - The depth of the current page in the menu structure (starting at 0)KEYWORDS - The keywords defined for the current pageDESCRIPTION - The description of the current page[=TOKEN][?TOKEN]...[/?][?NODE]...[/?] to output a section if there are any child nodes, or as [?SELECTED]...[/?] etc to output something only if the current node is selected. You can also use [?!TOKEN]...[/?] (output if token is not defined) and [?TOKEN]...[?ELSE]...[/?].[*TOKEN]...[/*][*NODE]...[/*] to produce output for each menu node at the current level.[*>TOKEN-MODE]MODE parameter allows you to specify more than one sub-template for a given token. For example, you might define [>NODE-TOP] for top-level menu nodes and [>NODE-SUB] for sub-menus.[>TOKEN-MODE]...[/>]<ul> [*>NODE] </ul> [>NODE] <li class="[?FIRST]first[/?][?LAST] last[/?][?SELECTED] selected[/?]"> [?ENABLED] <a href="[=URL]">[=TEXT]</a> [?ELSE] [=TEXT] [/?] [?NODE] <ul> [*>NODE] </ul> [/?] </li> [/>]For live examples, download the DDR Menu starter templates.