1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Remove Board Title Affix From Page Titles

Discussion in 'Template Modifications [Archive]' started by Jake Bunce, Nov 9, 2010.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    This guide is for removing the board title affix from the page title that you see at the top of your browser window. For example, in this screenshot the page title is Template Modifications | XenForo Community:

    Screen shot 2010-11-09 at 4.19.50 AM.png

    This guide is for removing the XenForo Community part of the title.

    Edit this template:

    Admin CP -> Appearance -> Templates -> PAGE_CONTAINER

    Change this:

    Code:
        <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
    
    ...to this:

    Code:
        <title><xen:if is="{$title}">{xen:raw $title}<xen:else  />{$xenOptions.boardTitle}</xen:if></title>
    
    Note that the board title is still used on the index page which is what the xen:if condition does.

    And you can change the board title in your:

    Admin CP -> Home -> Options -> Basic Board Information -> Board Title
     
    ActorMike, Mr.N2, Brad L and 7 others like this.

Share This Page