Skip to main content

Menu (Menu)

Description​

Menu is a menu used in the webpage.

Note!​

Custom properties don't work in footer or menu. So using {:YourCustomPrperty isCustom='true' here will not render the value of the property.

{object:Menu 
id="menu_1"
section="exampleSectionName"
name="Menu"
thumbnail="path/to/image.jpg"}

{:BaseNode}

{block:MenuItem}
{:HasMenuSub}
{:IsCurrentPage}
{:IsNode} - OR - {:IsNonClick}
{:Url}
{:Label}

{block:MenuSub}
{block:MenuSubItem}
{:HasMenuSub}
{:IsCurrentPage}
{:IsNode} - OR - {:IsNonClick}
{:Url}
{:Label}

{block:MenuSubRecursive /}
{/block:MenuSubItem}
{/block:MenuSub}

{/block:MenuItem}

{/object:Menu}

Attributes​

Properties​

  • :BaseNode see Base Node
  • block:MenuSubRecursive this will call block:MenuSub for all the sub menus.
  • :IsCurrentPage indicates if the current item is active
  • :IsNode flag for a none clickable item