[BUGFIX] TSFE->altPageTitle can not be set in extensions 85/26785/7
authorMarkus Klein <klein.t3@mfc-linz.at>
Mon, 13 Jan 2014 10:03:42 +0000 (11:03 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 29 Jan 2014 19:42:54 +0000 (20:42 +0100)
commit9d4cacedf313200492a7ae0103b39a42d5cb92fa
tree7b4291fd39abc4f39ab1fe6bf8589409403fe7fe
parent9dc04c84e860d82819541d943a7b67152b4757a9
[BUGFIX] TSFE->altPageTitle can not be set in extensions

It is not possible to set $GLOBALS['TSFE']->altPageTitle
in USER_INT extensions anymore to modify the page title.

This has been possible before in the 4.x branches.

Fix this by implementing the title generation like all
other header data.

Resolves: #54467
Releases: 6.2, 6.1
Change-Id: I3d5be34b95cb295b92732d2f2f9bd1f123812365
Reviewed-on: https://review.typo3.org/26785
Reviewed-by: Stefan Neufeind
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Xavier Perseguers
Reviewed-by: Bill Dagou
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Page/PageGenerator.php
typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php