1. 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

Discussion in 'Styling and Customization Questions' started by WalRus, Nov 14, 2014.

  1. WalRus

    WalRus Member

    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

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

    WalRus Member

    Really nobody knows? :(
  3. TJA

    TJA Well-Known Member

    Have you tried putting </title> on the end?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The $category param isn't available in the forum_view template.
  5. WalRus

    WalRus Member

    Thanks for your response.

    How then it is possible to display category title in sections of a forum?

    I didn't begin to insert a full code.
    Simply for an example. :)

Share This Page