PDA

View Full Version : Condition statement for CMS home, Forum home and Blog


DesignWerks
02-20-2010, 05:07 PM
I am using the following condition to place something on my forum home page, how can I also get it to display on the CMS home (content.php) and Bog home (blog.php) pages as well?

<vb:if condition="THIS_SCRIPT == 'index'">
Content Here
</vb:if>

Lynne
02-21-2010, 02:51 AM
<vb:if condition="in_array(THIS_SCRIPT, array('index', 'vbcms', 'blog'))">
stuff here
</vb:if>

DesignWerks
02-25-2010, 05:17 PM
Ah, perfect. Thanks!!