Suggestion #8437
more registers to change pagetitle not only in single view
| Status: | Accepted | Start date: | 2010-06-22 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | 2010-06-28 | |
| Assignee: | Dirk Wildt | % Done: | 0% |
|
| Category: | SEO | Spent time: | - | |
| Target version: | 4.7.0 | |||
| Votes: | 0 |
Description
This is just a suggestion in order to raise accessibility and usability of your extension a little.
The system for changing the pagetitle by using the typoscript register works very well. But it's only applied in single view mode.
I think the pagetitle should be changed in every view that differs from the default list view.
Here are some examples:- appending the page of the pagebrowser:
Browserpage - page 3 - appending filters:
Browserpage - Category_A - appending the search term:
Browserpage - your search for blabla - appending the single view mode:
Browserpage - Title of your item - Detail - appending the a-z tab:
Browserpage - C
I would not "hardcode" the building of it in PHP.
Imho the best way would be to offer more registers to enhance the flexibility with typoscript.
All the above states could each be put in an unique register. So everybody would be able to build his page title in the way he wants.
Simplified typoscript example:
lib.pageTitle = COA
lib.pageTitle {
10 = TEXT
10.value = Browserpage
20 = TEXT
20.data = register:browser_htmlSWord
20.noTrimWrap = | - Your search for: ||
20.required = 1
30 = TEXT
30.data = register:browser_htmlTitleTag
30.noTrimWrap = | - ||
30.required = 1
40 = TEXT
40.data = register:browser_htmlViewMode
40.noTrimWrap = | - ||
40.required = 1
}
History
Updated by Dirk Wildt almost 3 years ago
- Due date set to 2010-06-28
- Category set to SEO
- Status changed from New to Accepted
- Assignee set to Dirk Wildt
- Priority changed from Could have to Should have
Dear Frank,
Thanks to your suggestion.
It is a very good idea. We have accounted it for development but without any schedulded date.
kind regards
Dirk Wildt
Updated by Dirk Wildt over 2 years ago
- Target version set to 4.7.0