</nav>
<div id="logo" class="logo">
- <a href="{link controller='Index'}{/link}">
+ <a href="{link}{/link}">
<img src="{@$__wcf->getPath('wbb')}images/wbbLogo2.svg" alt="" style="height: 90px; width: 246px;" />
{*event name='headerLogo'*}
</a>
<?php
namespace wcf\system\menu\page;
+use wcf\system\breadcrumb\Breadcrumb;
use wcf\system\cache\CacheHandler;
use wcf\system\event\EventHandler;
use wcf\system\menu\ITreeMenuItem;
use wcf\system\menu\TreeMenu;
+use wcf\system\request\LinkHandler;
+use wcf\system\WCF;
/**
* Builds the page menu.
}
}
}
+
+ // set default menu item
+ if ($this->landingPage !== null) {
+ $this->setActiveMenuItem($this->landingPage->menuItem);
+
+ // add main breadcrumbs entry
+ WCF::getBreadcrumbs()->add(new Breadcrumb(WCF::getLanguage()->get(PAGE_TITLE), LinkHandler::getInstance()->getLink()));
+ }
}
/**