SAAS-1019: Re-work Navigation Menu

Created Widget sub menu and moved widgets into separate controller
actions
This commit is contained in:
drigato 2015-08-17 16:15:26 -04:00
parent 3aee9a49bc
commit e5f5ff4c88
7 changed files with 72 additions and 52 deletions

View file

@ -120,10 +120,11 @@
<div class="wrapper" id="content">
<div id="sub-menu">
<?php echo $this->layout()->parent_page; ?>
<?php //parent_page is passed in from controller
echo $this->layout()->parent_page; ?>
<hr>
<?php
$page = $this->navigation()->findOneBy('label',$this->layout()->parent_page);
$page = $this->navigation()->findOneBy('label', $this->layout()->parent_page);
echo $this->navigation()->menu()->renderMenu($page);
?>
</div>