trying to change a layout in PAGE_CONTAINER based on node_ids
old 1.5 code:
tried to get cat-id but
doesn't work.
just works for nodes ofc
is there any magic trick to get that working? Would like to avoid a sub-template, thx
old 1.5 code:
Code:
<xen:if is="{$category.node_id} == 528 OR {$forum.node_id} == 168" >
Code:
<xf:if is="in_array($__globals.category.node_id, [528, 705, 234])">
Code:
<xf:if is="in_array($__globals.forum.node_id, [168, 446, 497, 584])">
is there any magic trick to get that working? Would like to avoid a sub-template, thx