PDA

View Full Version : forumid conditional on headinclude


tuRiver
03-14-2013, 02:36 PM
Hi

I'm trying to use

<vb:if condition="in_array($GLOBALS['forumid'], array(32,67,77,82))">_2</vb:if>

on headinclude

Any ideas why it's not working?

Thanks in advance

findingpeace
03-14-2013, 02:49 PM
Try without the single quotes around forumid

<vb:if condition="!in_array($GLOBALS[forumid], array(32,67,77,82))">

kh99
03-14-2013, 03:09 PM
When I try it I find that what you posted seems to work. Make sure you're browsing with the same style you're editing, and maybe check the html source of the page to see if the resulting code looks right.