Forum Discussion
Hi Chris,
It was great to finally meet you at LiNC this year!
By default the ForumTopicPage should include the board title. Here is a description of the server-side logic that fills the the page.head.title text key arguments :
- It checks a back-end setting (named config.prefix_title) that Lithium can set to add a prefix (however I'm not sure why it would be needed). I think this used to be settable through our old admin, but I don't see it in our current admin and I know we removed a lot of settings (that were deemed not useful or rarely used) from the latest admin. If that setting is set, it either passes the value as the first argument of the page.head.title text key, or if a separator charcter (which is the value of the title.head.text_seperator text key) is set, it combines it with a separator character (it combines them together using the page.head_value_separated.title text key, which defaults to {0} {1} ) and passes that as the first argument of the page.head.title text key.
- Next it takes a page-specific argument (which for the ForumTopicPage is the board title) and a separator character (which is the value of the title.head.text_seperator text key) and passes them as arguments to the page.head_value_separated.title text key. The default value for the text key is {0} {1} , but if that is changed to blank then those arguments will not be passed in and you will get a blank value (so for the ForumTopicPage you won't get the board title). It passes the combined value as the second argument to the page.head.title text key.
- It passes the community title as the third argument to the page.head.title text key.
I hope that helps you debug the problem. Feel free to reach out to me via PM if you want me to look at how the page title is being set for the ForumTopicPage for a specific community.
-Doug
Sorry for the late reply and thanks for the explanation. Although you say "By default the ForumTopicPage should include the board title."
This is not our experience, looking at half a dozen Lithium Communities I have yet to find one which does include the board name within the <title> element on the ForumTopicPage. If this was the case, on this very page the <title> would be
<title> Re: Including Board name within <title> on Forum T... - Developers Discussion - Lithium Community</title>
yet its
<title> Re: Including Board name within <title> on Forum T... - Lithium Community</title>
I've actually viewed short topic headings as I thought perhaps it was being truncated, but no change.
This actually seems to be the default Lithium behaviour?
- cblown11 years agoBoss
Hey guys, any further thoughts on this one?
Related Content
- 6 years ago
- 2 years ago