The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Vba index condition?
Hey
im trying to display a div element only when a user is on the vbadvanced index page. Code:
<if condition="THIS_SCRIPT == 'index'"> bla <else /> bla </if> Can anyone help me out and correct it? My vbadvanced was renamed to "index.php" btw. |
#2
|
||||
|
||||
I think you need to use something like <if condition="THIS_SCRIPT == 'vbcms'"> not sure but i think i came across a thread here somewhere with a similar question.
|
#3
|
||||
|
||||
Nope, didn't work
Now it's not showing up at all |
#4
|
|||
|
|||
Try using 'adv_index' instead of 'index'.
|
#5
|
||||
|
||||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|