gldtn
Well-known member
Hello guys, I'm try to set an option for my add-on where I can just specify several node_id's and if it matches the node id's it will return my phrase like so:
What am I doing wrong here?
Thanks!
PHP:
<xen:if is="in_array({$forum.node_id}, array({$xenOptions.gl_tav_node_id}))">
{xen:phrase gl_tav_post_new_thread}
<xen:else />
{xen:phrase post_new_thread}
</xen:if>
What am I doing wrong here?
Thanks!