Actions
Bug #65832
closedpage title of cached plugin (like news) is lost on partially cached pages
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2015-03-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:
Description
Having a news detail page, which is fully cached will have the proper page title of the news.
If for some reason the page is not fully cached (eg some *_INT objects are present) then the page title is not correct anymore.
The title of the cached plugin is lost.
To reproduce just add this TS snippet to a fully cached detail page of news:
page.100 = COA_INT page.100.10 = TEXT page.100.10.value = test
These methods in the cached plugin all fail to set the title properly:
$GLOBALS['TSFE']->page['title'] = 'New page title'; $GLOBALS['TSFE']->altPageTitle = 'New page title'; $GLOBALS['TSFE']->indexedDocTitle = 'New page title'; $GLOBALS['TSFE']->getPageRenderer()->setTitle('New page title');
Actions