Getting multi language navigation to work with "hidden" pages
Switching between languages should work on any kind of page.
This commit is contained in:
parent
0248a3539f
commit
cdbecb8428
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?php $pages = $yellow->pages->top() ?>
|
||||
<?php $pagesMultiLanguage = $yellow->pages->multi($yellow->page->location) ?>
|
||||
<?php $pagesMultiLanguage = $yellow->pages->multi($yellow->page->location, false, true) ?>
|
||||
<?php $yellow->page->setLastModified($pages->getModified()) ?>
|
||||
<?php $yellow->page->setLastModified($pagesMultiLanguage->getModified()) ?>
|
||||
<div class="navigation">
|
||||
|
|
Loading…
Add table
Reference in a new issue