PDA

View Full Version : Page= Condition Statement in Templates


allhandl
12-26-2004, 09:32 PM
Im trying to create an if condition in the navbar template to add info to a custom page (such as /adv_index?page=index ) however will not show up on any other page. I tried Brian's fix with no luck which can be found here (http://www.vbadvanced.com/forum/showthread.php?t=103&highlight=page%3D)


<if condition="in_array($page, array('entertainment'))">
Info I want Here
</if>


This doesnt seem to work, any ideas?

bulbasnore
12-26-2004, 10:07 PM
Im trying to create an if condition in the navbar template to add info to a custom page (such as /adv_index?page=index ) however will not show up on any other page. If tried Brians fix here with no luck here (http://www.vbadvanced.com/forum/showthread.php?t=103&highlight=page%3D)


<if condition="in_array($page, array('entertainment'))">
Info I want Here
</if>


This doesnt seem to work, any ideas?

I'm strinking out with this (http://www.vbadvanced.com/forum/showthread.php?t=103&highlight=page%3D) also.