Base Tag Library
This article has moved to a new home. View the updated version


Generates a static user controlled menu based a unique ID


[%menu id:'header_menu'%]
    [%param header%]
        Header Menu
    [%param *level_1%]
        <a href="[@url@]">[@name@]</a>
        [%if [@next_level@]%][@next_level@][%/if%]
    [%param *level_2%]
        <a href="[@url@]">[@name@]</a>
        [%if [@next_level@]%][@next_level@][%/if%]
    [%param *level_3%]
        <a href="[@url@]">[@name@]</a>
    [%param footer%]


The menu tag relies on having a corresponding menu built in Neto's CMS with a matching ID Read More. Within the CMS you control the order the links appear in, the URL, the names & the parent/child relationship, which is then controlled by the taga tags and formatting in your HTML. You can have as many of these menus as you'd like, as long as you have them both in your Neto cpanel and somewhere in your HTML code.

Name Options Description
id:'' String The ID of menu as defined in your Neto control panel
Name Description
[@name@] Menu option name
[@url@] Menu option web address
[@next_level@] TRUE if there is a sub-menu under this menu option
[@css_class@] Outputs the CSS class entered into the menu option settings

Was this article useful?

Be notified when this page is updated. Optional.