XF 2.0 Using ad positions in specific forums

rcull

Member
I want to show some html in specific ad positions in specific forums.
I tried this pirated from another thread here:

<xf:if is="in_array({$forum.node_id}, [141])">
<table align="center" >
<tr>
<td >
From the Reference Section:<br />
- <a href="https://www.teambuick.com/reference/wheels_tire_howto.php">How to choose your new wheels and tires</a><br />
- <a href="https://www.teambuick.com/reference/rallye_wheels.php">Buick Rallye Wheels</a><br />
- <a href="https://www.teambuick.com/reference/calculators.php">Calculators: Tires, Gears, MPH, etc.</a><br />
- <a href="https://www.teambuick.com/reference/wheel_bearing_adjustment_63-70.php">Wheel Bearing Adjustment, 1963 - 1970</a><br />
</td>
</tr>
</table>
</xf:if>

and it failed.
Without the condition, what I want shows, but across all forums.

Thanks
 
Back
Top Bottom