Maybe I just need to go to bed here.. I just don't get the conditions and how to set them up
we're trying to setup a few listed here
https://xenforo.com/community/resources/conditional-statements.1604/
How would you go about restricting the ad to selected forums like this.
Code:
28. How can I show content in more than one forum?
<xen:if is="in_array({$forum.node_id}, array(x, y, z))">
This content will show in forums x, y, and z
</xen:if>
29. How can I show content in all forums with a specific parent?
<xen:if is="{$forum.parent_node_id} == x">
This content will show in forums of parent x
</xen:if>
I have one category, lets call it ID 1, and two sub forums under it, lets call them 2 and 3
I've tried just putting
$forum.parent_node_id == 1
but I don't see any changes on the front end.
Thanks for the help guys, I'll take another look after some sleep. I'm sure I'm missing something obvious.