XF 1.2 Edit node titles in sub forum popup

Matthew Hawley

Well-known member
I'm trying to edit the node titles in the sub forum popup menu.

But it seems the node titles are within
{xen:raw $child}
So how do I edit them?

Jake Bunce

XenForo moderator
Staff member
Admin CP -> Appearance -> Templates -> node_forum_level_n (and of course there are other node types, node_*_level_n)

With how children are rendered, {xen:raw $child} actually represents the same template for previously rendered children that are now being associated with a higher level child.

Current child - can be modified to affect all sub-forum links in those popup menus.
Children of current child - already rendered, do not modify. Instead modify the blue code which will have been previously used to create those rendered children.

Rich (BB code):
<li class="node forum level-n node_{$forum.node_id}">
	<div {xen:if $forum.hasNew, 'class="unread"'}>
		<h4 class="nodeTitle"><a href="{xen:link forums, $forum}" class="menuRow">{$forum.title}</a></h4>
	<xen:if is="{$renderedChildren}">
			<xen:foreach loop="$renderedChildren" value="$child">
				{xen:raw $child}