XF 1.4 Forum name in sitemap

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
 
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.
 
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
 
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.
 
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>
 
Top Bottom