Translatable sub-menu
This commit is contained in:
parent
314c105508
commit
c3e2dda3c1
|
@ -130,7 +130,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|||
<hr>
|
||||
<?php
|
||||
$page = $this->navigation()->findOneBy('title', $this->layout()->parent_page);
|
||||
echo $this->navigation()->menu()->renderMenu($page);
|
||||
echo $this->navigation()->menu()->render($page);
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<ol id="navlist">
|
||||
<ol class="navigation">
|
||||
<?php foreach ($this->container as $page) : ?>
|
||||
<?php if($this->navigation()->accept($page)) : ?>
|
||||
<li class="top <?php if($page->isActive(true)){echo 'active';} ?>">
|
||||
|
|
Loading…
Reference in New Issue