You are not logged in.
Could not write the code to the allocation page includes "uk-active" mode
<nav class="uk-navbar">
<a class="uk-navbar-brand" href="<?=WWW_ROOT?>"><?=$home_page["nav_title"]?></a>
<ul class="uk-navbar-nav">
<? foreach ($main_nav as $navItem) {$active = (strpos($current_url,$navItem["link"]) !== false);?>
<li<? if ($active) { ?> class="uk-active"<? } ?>><a href="<?=$navItem["link"]?>"><?=$navItem["title"]?></a></li>
<? } ?>
</ul>
</nav>
Offline
After updating to 4.2.10 all the problems are over! Super!
Last edited by userbot (April 28, 2016 10:45am)
Offline