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

XF 1.4 HTML Title modification query

Discussion in 'Styling and Customization Questions' started by OperaManiac, Aug 1, 2015.

  1. OperaManiac

    OperaManiac Well-Known Member

    I got this code created by a friend few versions ago and it worked great. Somehow it does not seem to work anymore so looking for some help.

    I want the page title for different sections to be like this:

    thread name • forum name
    forum name • board name
    board name

    This is the code that supposedly worked fine for me:

    <title><xen:if is="{$title}">{xen:raw $title}<xen:if is="{$contentTemplate} == 'thread_online'"> • {xen:raw $forum.title}</xen:if><xen:if is="{$contentTemplate} == 'forum_view'"> • India Broadband Forum</xen:if><xen:else />{$xenOptions.boardTitle}</xen:if></title>
    Can anyone indicate what went wrong? With a recent theme update, I had to redo all the changes manually so I am guessing I missed something. Thanks!

Share This Page