The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
The added buttons in navbar are not selected
When I add a link to the navbar and I click on it, this one its not showed as selected.
View image: http://img62.imageshack.us/img62/3360/capu.png Searching a little bit I found the methodology that navbar template uses, for example: Code:
<vb:if condition="$vboptions['selectednavtab'] == 'vbblog'"> <li class="selected"><a class="navtab" href="blog.php{vb:raw session.sessionurl_q}"> {vb:rawphrase blogs}</a> <vb:else /> <li><a class="navtab" href="blog.php{vb:raw session.sessionurl_q}">{vb:rawphrase blogs}</a></li> </vb:if> It asks if the vbblog link has been selected, if vbblog is active, the button in navbar it show as selected. Otherwise is not shown as selected on the navbar. For example, i can add on the navbar template: Code:
<vb:if condition="$vboptions['selectednavtab'] == 'CMPS'"> <li class="selected"><a class="navtab" href="cmps_index.php">Portal</a> <vb:else /> <li><a class="navtab" href="cmps_index.php">Portal</a></li> </vb:if> But I have to define the CMPS on somewhere, my question is where? Thats all, please help with this. --------------- Added [DATE]1272760049[/DATE] at [TIME]1272760049[/TIME] --------------- Solved!, Did not know he had a new version of this mod: https://vborg.vbsupport.ru/showthread.php?t=228507 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|