XF 1.5 <xen:if is="{$category.node_id} == x"> on forums ?


Hey there,
I'm trying to use the <xen:if is="{$category.node_id} == x"></xen:if> conditional statement on the forums/main page (where every nodes are shown), but it still shows itself on both categories, even if I put the right node id.

Both of those are already done:
Note that in order for this to work, you must have categories set as pages in the ACP -> Options -> Node & Forum List: Create Pages for Categories.
Additionally, to ensure the category ID is available in the ad_* templates, the category_view template must be edited and the following code added: <xen:container var="$category.node_id">{$category.node_id}</xen:container>

Any idea ?

You may archive this. Sorry, I did something wrong with my configuration and it's now working.
Last edited: