PDA

View Full Version : FORUMHOME conditional


kronnos
04-04-2009, 06:31 PM
I would like to add a code to the navbar but the only place i do not want it to show is on the forumhome page. Could't really find anywhere a conditional that would let the code display everywhere except forumhome, can anyone please help:)

Thank You

carcomp
04-04-2009, 06:48 PM
I'm sure there is a way to do this... Something like this

IF vbtemplate != FORUMHOME THEN
do stuff
End if

I know that visual basic looking, but the idea is right.

kronnos
04-04-2009, 06:55 PM
Did some searches but dont really see any conditionals that start with Vbtemplate, I always though it had to start with something like <if condition=.....

Lynne
04-05-2009, 02:09 AM
Probably something like:
<if condition="THIS_SCRIPT != 'index'">
Do stuff only if not on vbulletins index.php page
</if>