The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Dynamic Forum/Home in Navbar... slight twist...
I use a dynamic version but I want a slight twist to it, so I wrote some code, but it's not working. Here's what I'm trying to accomplish:
It should work the way it does now, but, if you're not on either the Forums, or the Home url's... it should display BOTH links... Here's what I wrote that isn't working: Code:
<if condition="THIS_SCRIPT == 'adv_index'"> <td class="vbmenu_control"> <a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> Forums </a> </td> <elseif condition="THIS_SCRIPT == 'index'"> <td class="vbmenu_control"> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </a> </td> <else /> <td class="vbmenu_control"> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </a> </td> <td class="vbmenu_control"> <a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> Forums </a> </td> </if> Code:
<if condition="THIS_SCRIPT != 'adv_index' OR 'index'"> <td class="vbmenu_control"> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </a> </td> <td class="vbmenu_control"> <a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> Forums </a> </td> </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|