XF 1.1 Conditional Question

Brent W

Well-known member
I want to alter the title tag for forums that exist only under a certain category. Basically, if the forums parent is category 2, I want to add an extra word to the <title> tag.

Jake Bunce

XenForo moderator
Staff member
<xen:if is="{$forum.parent_node_id} == 2">

For example, this works in the node_forum_level_2 template.