• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Conditional Question

Brent W

Well-known member
#1
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
#2
Code:
<xen:if is="{$forum.parent_node_id} == 2">

</xen:if>
For example, this works in the node_forum_level_2 template.