//$rootPage = $pages->get("/en/");$treeMenu = $modules->get("MarkupSimpleNavigation"); // load the module$options = array(
'parent_class' => 'active', // string (default 'parent') overwrite class name for current parent levels'current_class' => 'active', // string (default 'current') overwrite current class'has_children_class' => 'dropdown', // string (default 'has_children') overwrite class name for entries with children'levels' => false, // bool (default false) wether to output "level-1, level-2, ..." as css class in links'show_root' => true, // bool (default false) set this to true if you want to rootPage to get prepended to the menu'outer_tpl' => '
','max_levels' => 2, // int (default null) set the max level rendered//'selector' => 'language_published!={$langpage_curr}','selector' => "id!=1000",//'collapsed' => true, // bool (default false) if you want to auto-collapse the tree you set this to true);
$rootPage = $pages->get("language_published=en");echo $treeMenu->render($options); // render default menu?>