Attempting to display a menu based upon a prior menu choice. When a
child menu is chosen the parent's _active flag goes off in the nav
container - and the child menu then does not display. How do I overcome
this to produce...
Parent menu items:
Parent1 -> display Parent1 child items
Parent2 -> display Parent2 child items
...but not both sets of child items.
To show the two parents I'm using:
$admin_menu = $this->navigation()->findByLabel('Admin panel');
echo $this->navigation()
->menu()
->setOnlyActiveBranch(false)
->setRenderParents(true)
->setMinDepth(0)
->setMaxDepth(0)
->setUlClass('admin-submenu')
->setIndent(12)
->renderMenu($admin_menu);
TIA...
Mike A