XF 1.4 Changing the separator (| to -)

Harry D

Member
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,
 
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>
 
Back
Top Bottom