[HOW TO - vB4] Adding a Link to Navbar
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 PHP Code:
PHP Code:
Search for PHP Code:
PHP Code:
2. Save and you are done. |
thanks almannai, been looking for something like this for hours!
btw, for other users, when I searched for {vb:raw template_hook.navtab_end} it came back 'Not Found' so try searching for 'template_hook' instead until you ind the right one. |
I am using vb 4.1.2 cms and found the
{vb:raw template_hook.navtab_end} added the code above it, with my page link and the title that i wanted the tab. <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> but when clicked it still showed the home tab selected. but when i searched for <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'"> it didnt come up, the only thing i could fine in the script was <vb:if condition="!$vboptions['selectednavtab']> I am not sure what to do with this. |
:confused:I am using vb 4.1.5 cms and found the
{vb:raw template_hook.navtab_end} added the code above it, with my page link and the title that i wanted the tab. But when I click The new tabs it still show the Forum tab selected The new tabs are linked to other forum and I tried to disable the Show Forum Link in Menu but it's still showing, Can someone help please, Thanks |
nice work
|
All times are GMT. The time now is 06:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|