PDA

View Full Version : I need a conditional in headinclude to separate css for certain vbadvanced pages.


desie310
09-24-2009, 09:09 PM
I'm using vbadvanced and I've got 2 css files linked in the headinclude that are for added pages. Each are for a different page and I don't want them to conflict. How do I write a conditional (if/else statement) for this? The urls for these pages end in ?pageid=pagename and I'm not sure if there's a variable for that or what.

any help is appreciated.

--------------- Added 1253832519 at 1253832519 ---------------

so I been trying to figure this out all day and finally made a thread to get help and now I figure it out :P

<if condition="$pages['name'] == 'pagename'">

this was what I was looking for. If anyone knows where to find a list of these variables (e.g. "$pages") then plz point me in that direction cause I couldn't find anything like that. I found this example with more searching on the web.