Hi everyone,
We have been trying to block ads from showing up in specific nodes, but using the code that's recommended is not working. Here is the code we are using:
The problem is simple, $forum.node_id is not returning anything. We tested other conditional statements, and everything works. But when it comes to this variable, it just doesn't return any number. We just recently imported our forums from vBulletin.
We have been trying to block ads from showing up in specific nodes, but using the code that's recommended is not working. Here is the code we are using:
<xf:if is="!in_array({$forum.node_id}, [X,Y,Z])">
Hide content..
</xf:if>
The problem is simple, $forum.node_id is not returning anything. We tested other conditional statements, and everything works. But when it comes to this variable, it just doesn't return any number. We just recently imported our forums from vBulletin.