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

XF 1.3 How to edit <title></title> output?

Tim Jay

Active member
#1
Does anyone know what is the most efficient way of turning

<title>Thread Title | Board Title</title>
into just <title>Thread Title</title> is?

as well as

<title>Member Username | Board Title</title>
into just <title>Member Username</title>

Any add ons to do this sitewide, or do I need to find and edit all the corresponding templates?
 

Mr. Goodie2Shoes

Well-known member
#2
Go to: Appearance -> Select your current style -> search for 'PAGE_CONTAINER' and click to edit -> Search for
Code:
<title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
change it to
Code:
<title><xen:if is="{$title}">{xen:raw $title}<xen:else />{$xenOptions.boardTitle}</xen:if></title>