XF 2.2 Conditional problem for a widget in category_view

Anatoliy

Well-known member
So I created a category with 4 forums inside. I'd like to display "The latest" from these 4 forums below the list of these forums on that category page.
I created a New threads widget and placed this code into category_view template:

Code:
<xf:if is="{$node.node_id} === 600778">
    <xf:widget key="latest_reports" />
</xf:if>

Doesn't display. (
If I place without conditional, <xf:widget key="latest_reports" /> it displays. Do I use the wrong code? Please help.
 
Back
Top Bottom