Project

General

Profile

Actions

Bug #62080

closed

$GLOBALS['TSFE']->page['title'] in USER doesn't work anymore for cached pages

Added by Julian Klassen over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Frontend
Target version:
Start date:
2014-10-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
hard
Is Regression:
Yes
Sprint Focus:

Description

Since commit 1263413f305a459080b895f762740bbfaeaca686 which fixed issue #54467, you can't correctly set the page title in a USER plugin anymore. The new call to regeneratePageTitle() unconditionally sets the page title based on the values of $TSFE->altPageTitle / page['title'] at the time of the request.

If the page title gets set from a USER plugin, those values are only correctly set for requests that aren't answered from the cache. All later requests that are answered from the cache don't execute the USER plugin, and therefore the new call to regenerateTitle() sets the page title to its "regular" value, overriding the value initially set by the USER plugin.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #54467: $GLOBALS['TSFE']->altPageTitle doesn't work any more in extensionsClosed2013-12-17

Actions
Related to TYPO3 Core - Bug #66499: double site titleClosedMarkus Klein2015-04-20

Actions
Has duplicate TYPO3 Core - Bug #65832: page title of cached plugin (like news) is lost on partially cached pagesClosed2015-03-18

Actions
Actions

Also available in: Atom PDF