![]() |
custom text on homepage only - template customization
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! |
Code:
<if condition="THIS_SCRIPT == 'index'"> |
I put that in verbatim and it "broke" it - anything specific I should have swapped out besides the "text" part?
|
Not sure, that shoulda worked. I'd have to see whats going on
|
Ahhh - a matter of where I put my next line I think - working now. Thanks so much!
|
All times are GMT. The time now is 01:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|