2012-08-23, 12:00 AM
I can't seem to figure this out, I want to get the corresponding header link to be pressed in when I'm on that page. Here's a pic, you can see how I'm on the calender page but the home tab is shown as the active tab.
[spoiler]
[/spoiler]
here's the code for my links in my header template
[spoiler]
[/spoiler]
here's the code for my links in my header template
<ul>
<li class="active"><a href="{$mybb->settings['bburl']}/index.php">Forums</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
</ul>