Hi
@eTiKeT™ - Are these two sets of examples not exactly the same?
How do they show and hide?
43. How can I show content in more than one forum?
Code:
<xf:if is="in_array({$forum.node_id}, [X,Y,Z])">
Show content..
</xf:if>
44. How do I hide content in multiple forums?
Code:
<xf:if is="in_array($forum.node_id, [x,y,z])">
Hide content..
</xf:if>
I ask because this isn't working to hide the content from the list of forums:
<xf:if is="in_array({$forum.node_id}, [54,74,302,93,142,167,263,113,374,396,399,330,310,31,165,57,31,408])">
Nor this:
<xf:if is="in_array($forum.node_id, [54,74,302,93,142,167,263,113,374,396,399,330,310,31,165,57,31,408])">
Nor this:
<xf:if is="!in_array({$forum.node_id}, [54,74,302,93,142,167,263,113,374,396,399,330,310,31,165,57,31,408])">
Nor this:
<xf:if is="!in_array($forum.node_id, [54,74,302,93,142,167,263,113,374,396,399,330,310,31,165,57,31,408])">
I'm sure I am doing something wrong - just no idea what.