With template conditionals, is there a way to create an IF statement based on the URL?
For example, I have
http://..../forums/portal.php?pageid=books
http:/..../forums/portal.php?pageid=art
I would like to put a different images and links in the header for each page and thought that an IF statement would work based on the URL.
Is there a way to do this in the vBulletin header?
Thanks for you help
DM
--------------- Added 01 Sep 2009 at 17:38 ---------------
I was able to figure it out.
I am using vBadvanced and found that all I have to do is substitute
$forum and
forumid with
$pages and
pageid
So instead of this:
<if condition="$forum[forumid] == X"></if>
I used:
<if condition="$pages[pageid] == X"></if>
The page id's are available in the Admin Panel ->> vBa CMPS similarly the way forum id's are in the Forum Manager.
I posted it here in case anyone need to know. If you need to move it elsewhere then please do so.
Have a great day! :up:
DM