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

XF 1.4 Forum name in sitemap

Discussion in 'XenForo Questions and Support' started by Anton_Bodryachkom, Jan 10, 2015.

  1. Anton_Bodryachkom

    Anton_Bodryachkom Active Member

    Hello ,
    1. is there a way to disable including forum name in threads generated in sitemap?
    2. Is there a way to control forum name in threads.
    example
    Forum name: "Forumname - forum dedicated to forum"
    so goal is to include short version in thread title so in sitemap it like like this
    thread: "thread titlename | Forumname
    And exclude full Forum name and just keep Short version

    I hope i explained more or less clear :)

    thank you
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Anton_Bodryachkom

    Anton_Bodryachkom Active Member

    iam sorry , i mean in title, not url
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The forum name is not in the thread title.

    I'm confused as to what it is you are asking as neither the URL, sitemap, nor title have the forum name in them.
     
  5. Anton_Bodryachkom

    Anton_Bodryachkom Active Member

    well, if you hover this thread in browser it will show
    "
    Forum name in sitemap | xenForo Community

    where "xenforo community "- is name of the forum . correct ? and all other thread show same " threadname | xenforo community
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You're talking about the browser tab, which is something entirely different.

    You can edit the thread_view template to change that.

    The xen:h1 tag sets the page title.
    The xen:title tag sets the browser tab title.
     
  7. Anton_Bodryachkom

    Anton_Bodryachkom Active Member

    Ok , but in sitemap thread title looks like this
    Forum name in sitemap | xenForo Community
    is there a way to not show site name?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Which sitemap are you referring to?
     
  9. Anton_Bodryachkom

    Anton_Bodryachkom Active Member

    thata generated in forum /sitemap.php . can i plz PM you , i dont want expose site here , its semi adult content there
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

  11. Anton_Bodryachkom

    Anton_Bodryachkom Active Member

    Can you please tell me how to disable site name after threadtitle .?
     
  12. batpool52!

    batpool52! Well-Known Member

    Open template "PAGE_CONTAINER"
    Find:
    Code:
        <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
    Replace with:
    Code:
        <title><xen:if is="{$title}">{xen:raw $title}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
     
    jw00dy likes this.
  13. Anton_Bodryachkom

    Anton_Bodryachkom Active Member

Share This Page