Is title setting via JS really needed?
|Priority:||Could have||Due date:|
|Assignee:||Kai Vogel||% Done:||
If you using a extension for displaying "virtual" pages the function sGetTitle wont find any title and JS is used to get the title out of the page directly.
Its possible to use
instead, which always finds a title (or description or subtitle).
Problem is we cant use TS like subtitle // title. This could be fixed by using a array like:
pageTitle.0 = subtitle pageTitle.1 = title
This way we save a loop trough all links via JS in FE and a DB query.
At least there should be added a fallback using
if page is generated via extension aka is not in pages DB table and sGetTitle wont find anything.
Updated by Kai Vogel almost 3 years ago
- Category set to General
- Status changed from New to Accepted
- Assignee set to Kai Vogel