1. 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?

Discussion in 'XenForo Questions and Support' started by Tim Jay, Sep 7, 2014.

  1. Tim Jay

    Tim Jay Active Member

    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?
     
  2. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    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>
     
    Tim Jay likes this.

Share This Page