More navbar and submenu layout fixes

This commit is contained in:
Albert Santoni 2015-08-18 17:13:17 -04:00
parent 1f8e8f85b9
commit a04f5afcbd
4 changed files with 19 additions and 10 deletions

View file

@ -121,15 +121,16 @@
<div class="wrapper" id="content">
<div id="sub-menu">
<?php //parent_page is passed in from controller
echo $this->layout()->parent_page; ?>
echo $this->layout()->parent_page; ?>
<hr>
<?php
$page = $this->navigation()->findOneBy('label', $this->layout()->parent_page);
echo $this->navigation()->menu()->renderMenu($page);
?>
</div>
<div style="width:87%">
<?php echo $this->layout()->content ?></div>
</div>
<div>
<?php echo $this->layout()->content ?>
</div>
</div>
<script id="tmpl-pl-cues" type="text/template">