Object: navigation
Variables
.all
List of all available navigation definitions.
Examples
CODE{% for nav in navigation.all %}
{{ nav.name }}<br/>
{% endfor %}
OUTPUTMain Menu
Footer
...
.by_ref
Access a navigation definition by its reference name.
Examples
CODEnavigation.by_ref.main-menu.name
OUTPUTMain Menu
Variable Dump
Copy and paste the below HTML into any template page, to see all navigation data dumped to your page. You can then simply remove the unnecessary fields and other elements, and format the remaining fields however necessary to achieve the desired look and feel.
<style> .thedump .name{ background-color:#3A5FCD; color:white; padding:0.5em; font-weight:bold; } .thedump .code{ background-color:#888888; color:white; padding:0.5em; } .thedump .out{ background-color:white; color:#555555; padding:0.5em; border-bottom:1px solid #CCCCCC; margin-bottom:1em; } .thedump .code pre{ padding:0; margin:0; font-size:1.1em; } </style> <div class="thedump"> </div>