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

XF 1.2 forum_list title

Discussion in 'XenForo Questions and Support' started by eagle eyes, Nov 7, 2013.

  1. eagle eyes

    eagle eyes Active Member

    I want to change just the forum_list title. How do i do that?

    Currently it uses the board title, but i want to place a custom <title>Page Title</title> for seo purposes on the /forums page.
     
  2. Shelley

    Shelley Well-Known Member

    I think your looking for Options >> Basic board Information >> Board Title and modify that field to suit. sorry if i misunderstood the area you meant.
     
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    You can edit the xen;h1 tag in forum_view (or forum_list).
     
  4. eagle eyes

    eagle eyes Active Member

    I want threads and forum view to not use Board Title for seo purposes.

    Current it is like in the title bar of browsers and search engines.

    Forum | Xenforo
    Section | Xenforo
    Thread | Xenforo

    How do i eliminate Xenforo from main forum page, section page, thread page where Xenforo is the Board Title.
     
  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    Edit PAGE_CONTAINER and surround the addition with a conditional. @Brogan's conditional resource explains content template conditionals.
     
  6. eagle eyes

    eagle eyes Active Member

    No success.

    Still trying to find out how to remove Board Title from forum_list, forum_view, thread_view.

    <title>Page Title | Board Title</title>
     
  7. Jeremy

    Jeremy XenForo Moderator Staff Member

    And what change did you make?
     
  8. eagle eyes

    eagle eyes Active Member

    I only added this in forum_list template, which gave me Forum Title | Board Title for forum page.
    While forum view and thread view remains Title | Board Title

    Code:
    <xen:title>Forum Title</xen:title>
    <xen:h1>Forum Title</xen:h1>
    I just want

    Forum Title | Board Title => Forum Title
    Section Title | Board Title => Section Title
    Thread Title | Board Title => Thread Title

    While member profiles, etc remain on default

    Member Profile | Board Title
     
  9. Jeremy

    Jeremy XenForo Moderator Staff Member

    You need to edit the PAGE_CONTAINER.
     
  10. eagle eyes

    eagle eyes Active Member

    To what?
    And set what in forum_list?
     
  11. eagle eyes

    eagle eyes Active Member

    Code:
    <title><xen:if is="{$title}">{xen:raw $title}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
    I have this now, which removes Board Title from all pages.

    I still want

    Member Name | Board Title for profiles.

    How can i have that?
     

Share This Page