XF 2.1 Widget Display Conditional - not show in particular forums

motowebmaster

Active member
I have a template conditional that works:

Code:
<xf:if is="!in_array($forum.node_id, [6,7,40,45])">
ad code ...
</xf:if>

I would like to use something similar for the Widget Display Condition field, so that the widget-block doesn't show up at all. Right now it's showing a blank widget. I've managed to get it to work with other code examples I've found through searches, but not for blocking the widget in specific forums.

Any assistance would be appreciated,
 
Top