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

XF 1.5 Change page title structure for one forum only

#1
I currently have this for my page titles in page container:

Code:
<xen:if is="{$contentTemplate} == 'forum_list'">
    <title>My Board Title</title>
<xen:else />
    <title><xen:if is="{$title}">{xen:raw $title} | <xen:if is="{$contentTemplate} == 'thread_view'">{xen:raw $forum.title} |</xen:if> {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
</xen:if>
It works fine for all of my forums except one. I have one forum that uses thread prefixes and with the code above the thread prefix and the forum title (which are similar) both end up in the page title making it too long.

If forum name is "xyz forum" what conditional would I use to exclude it from the usual rules and have the page title something like <prefix+thread title | board title> i.e omitting the forum title altogether, but just for that one forum?
 
Last edited: