Instead of always having to manually add the site name to overridden page titles it would be very beneficial if there was a field to define a pattern that was used. Here's an example workflow:
- Have a node pattern set to "[title-raw] | [site-name]" with the site-name value being "example.com".
- You edit a node with the title "green monkey" and override the page title to instead say "blah blah"
- The outputted page title changes from "green monkey | example.com" to "blah blah", confusing the user
We should have either have a whole new field for a new pattern or an option to pass the title string for overridden objects through the default filter.
Comments
Comment #1
damienmckennaAs mentioned in #654758: The pattern overwrite the custom title, should the overridden titles also be processed for tokens? Is there a reason why I can't set the title for a node to "something about [site-name]" and expect it to process the token?
Comment #2
nicholasthompsonI'll test this - but the token template is wrong for starters... it should be:
[page-title] | [site-name]And the correct behaviour for your example (node title = green monkey, page title = blah blah) should be:
blah blah | example.comComment #3
damienmckennaSo how would you handle this scenario:
Comment #4
nicholasthompsonThat sounds like a bug...
For any given "taxonomy/term/{tid}" page, the [page-title] value should either be the overridden page title or the term name...
Comment #5
damienmckennaWas a combination of Panels and misconfiguration.
Comment #6
techgirlgeek commentedSo how'd you fix it?
We are having the same issue.