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

XF 1.4 {$category.title} - not working in a forum

#1
Hello.
Example: https://xenforo.com/community/forums/media-gallery-suggestions.86/

name of a forum
Media Gallery Suggestions

and name of category
Official XenForo Add-ons

it is necessary for me that in sections of a forum also the name of category was displayed

here so Media Gallery Suggestions | Official XenForo Add-ons


Such method doesn't work

Code:
<title><xen:if is="{$title}">{xen:raw $title} <xen:if is="{$contentTemplate} == 'forum_view'"> | {xen:raw $category.title}