commit 98baceaecedf631935729817548e1fa1e77c3c19
parent 0248a3539fde7be18da0e82d8da11e784db7fdb6
Author: Mark Seuffert <markseu@users.noreply.github.com>
Date: Thu, 28 Jan 2016 23:30:10 +0100
Merge pull request #154 from richi/master
Getting multi language navigation to work with "hidden" pages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/themes/snippets/navigation-multilanguage.php b/system/themes/snippets/navigation-multilanguage.php
@@ -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">