The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I have an area in my header template that I want certain text to appear only when on the homepage - when visitors go to a thread the thread title will appear in that area instead. I figured out how to pull in the thread title ($threadinfo[title]) but can someone tell me how to write an "if/then" statement that will pull my alternate text in on the homepage? Thanks! |
#2
|
||||
|
||||
![]() Code:
<if condition="THIS_SCRIPT == 'index'"> text </if> |
#3
|
|||
|
|||
![]()
I put that in verbatim and it "broke" it - anything specific I should have swapped out besides the "text" part?
|
#4
|
||||
|
||||
![]()
Not sure, that shoulda worked. I'd have to see whats going on
|
#5
|
|||
|
|||
![]()
Ahhh - a matter of where I put my next line I think - working now. Thanks so much!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|