Unable to include navigation on site
Permalink<nav> <?php $ga = new GlobalArea('Navigation'); $block_count = $ga->getTotalBlocksInArea($c); if ($block_count > 0 || $c->isEditMode()) { $ga = new GlobalArea('Navigation'); $ga->setBlockLimit(1); $ga->display($c); } ?> </nav>
$nav->controller->displaySubPages = 'none'; $nav->controller->displaySubPageLevels = 'custom'; $nav->controller->displaySubPageLevelsNum = 1;
If you try the following:
Or maybe hardcoding it into the template is an option?: