« All helpers
Displays a single section of the navigation as a bulleted list, with class="current" added to the current page's <li> element for custom styling.
class="current"
<li>
In PHP code, call it like this:
echo $this->run ('navigation/section', array ('section' => 'page-id'));
In a template, call it like this:
{! navigation/languages?section=page-id !}
To pass a dynamic value to section in a template:
section
{! navigation/languages?section=[id] !}
This passes the template's $data->id as the section value.
$data->id
Also available in the dynamic objects menu as "Navigation: Section".
Displays a single section of the navigation as a bulleted list, with
class="current"
added to the current page's<li>
element for custom styling.In PHP code, call it like this:
In a template, call it like this:
To pass a dynamic value to
section
in a template:This passes the template's
$data->id
as thesection
value.Also available in the dynamic objects menu as "Navigation: Section".