almannai
07-02-2010, 10:00 PM
1. Go to
Admincp > Styles and Templates > Style Manager > MASTER STYLE (this will effect all style or just choose the Style you want to add link to it)> Navigation / Breadcrumb Templates > Navbar
open it and search for
{vb:raw template_hook.navtab_end}
Add above
<vb:if condition="THIS_SCRIPT == 'mynewpage'">
<li class="selected"><a class="navtab" href="mynewpage.php">mylink</a></li>
<vb:else />
<li><a class="navtab" href="mynewpage.php">mylink</a></li>
</vb:if>
Search for
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
Replace with
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'mynewpage'">
2. Save and you are done.
Admincp > Styles and Templates > Style Manager > MASTER STYLE (this will effect all style or just choose the Style you want to add link to it)> Navigation / Breadcrumb Templates > Navbar
open it and search for
{vb:raw template_hook.navtab_end}
Add above
<vb:if condition="THIS_SCRIPT == 'mynewpage'">
<li class="selected"><a class="navtab" href="mynewpage.php">mylink</a></li>
<vb:else />
<li><a class="navtab" href="mynewpage.php">mylink</a></li>
</vb:if>
Search for
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
Replace with
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'mynewpage'">
2. Save and you are done.