XF 1.4 HTML Title modification query


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!