PDA

View Full Version : side bar blocks to only appear on FORUMHOME


scottkoz20
08-27-2019, 09:48 AM
So, I was trying to be slick and have a conditional on some block templates to only show information on the FORUMHOME

when I added the following at the top/bottom of block_blogentries, block_threads and block_newpost, they don't appear at all.

<vb:if condition="THIS_SCRIPT == 'FORUMHOME' ">

</vb:if>


What adjustments do I need to do? When I look at the Template Conditional List, the syntax looks right and I can get this to work when it's !="FORUMHOME" - so I could array this to not equal everything else, but this seems to be backwards.

Thoughts?


Thanks,
Scott

Seven Skins
08-27-2019, 02:20 PM
I think this should be ?

<vb:if condition="THIS_SCRIPT == 'index' ">

</vb:if>

scottkoz20
08-27-2019, 04:54 PM
thank you much!