I've added a tab called Features which works great thanks..
Question is now that I am calling custom vb pages that I'm creating from this tab how do I get the tab to be the highlighted tab?
For example in my custom VB page dynodb.php
Code:
define('THIS_SCRIPT', 'dynodb');
define(ncoextratab, true);
The forum template for the Features tab is called nco_extra_navbar and looks like this
Code:
<vb:if condition="$vboptions['selectednavtab'] == 'ncoextratab'">
<li style="border-top-style:solid; border-top-color:white; border-top-width:1px; border-left-style:solid; border-left-color:white; border-left-width:1px;" class="popupmenu">
<a style="text-decoration:none;" color='#ff0000'" href="javascript://" class="popupctrl" ><b>Features</b></a>
<ul class="popupbody popuphover">
<li><a href="http://www.newcelica.org">Install Guides</a></li>
<li><a href="http://partscatalog.newcelica.org/page.php">Parts Catalog</a></li>
<li><a href="http://tracktimes.newcelica.org/index.php">Track Times</a></li>
<li><a href="dynodb.php">Dyno Database</a></li>
<li><a href="http://www.newcelica.org/other/technical/index.htm">Technical Information</a></li>
<li><a href="http://www.newcelica.org/other/store/index.htm">NC.org Gear</a></li>
</ul>
</li>
<vb:else />
<li style="border-top-style:solid; border-top-color:white; border-top-width:1px; border-left-style:solid; border-left-color:white; border-left-width:1px;" class="popupmenu">
<a onmouseover="this.style.color='#ff0000'" onmouseout="this.style.color='#ffffff'" href="javascript://" class="popupctrl" ><b>Features</b></a>
<ul class="popupbody popuphover">
<li><a href="http://www.newcelica.org">Install Guides</a></li>
<li><a href="http://partscatalog.newcelica.org/page.php">Parts Catalog</a></li>
<li><a href="http://tracktimes.newcelica.org/index.php">Track Times</a></li>
<li><a href="dynodb.php">Dyno Database</a></li>
<li><a href="http://www.newcelica.org/other/technical/index.htm">Technical Information</a></li>
<li><a href="http://www.newcelica.org/other/store/index.htm">NC.org Gear</a></li>
</ul>
</li>
</vb:if>
The plugin hook calls nco_extra_navbar so why when I load my dynodb.php page does it not highlight the Features tab? It highlights the forums tab regardless of how I browse to the dynodb.php page
http://vb.newcelica.org/dynodb.php