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

XF 1.4 Changing the separator (| to -)

#1
Simple enough question, with a simple enough answer (I hope!)

I want to change the divider in page titles, for example:

My Forum | News Section
My Forum | Username1
etc.

to...

My Forum - News Section
My Forum - Username1

Thanks,
 

EQnoble

Well-known member
#2
You can edit the PAGE_CONTAINER template or you can setup a template modification.

Find:

HTML:
    <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
Replace with

HTML:
    <title><xen:if is="{$title}">{xen:raw $title} - {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>