Base Tag Library
Note: We have updated our folder structure in Neto 6 and this has not been updated on all tweaks yet. More info.

menu

Generates a static user controlled menu based a unique ID

Example

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

Usage

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 neto and somewhere in your HTML code.

Name Options Description
id:'' String The ID of menu as defined in your Neto control panel