XF 1.5 Array / xen:if

Jayson

Member
I have the if statement "$0<xen:if is="in_array({$thread.node_id}, array({$xenOptions.mca_nodes}))">{$xenOptions.mca_titlephrase}</xen:if>" as a template modification which finds "{$thread.forum.title}", the option for mca_nodes is set as "1, 2" however it seems to only work for node 1-or whichever node ID I place first, such as if I set it to "2, 1", only node 2 would have the modification. Anyone mind lending a hand?

Yes the node IDs are correct, I just replaced some things for this post.
 
Last edited:
Back
Top Bottom