[TYPO3-dev] Change the page title

Philipp Wrann philippwrann at gmail.com
Mon May 26 16:08:25 CEST 2014


Since last updates my page title alteration does not work anymore.
First-Hits work fine (like before) but pages from the cache will allways have the page-title set instead of the alttitle i set to overrule it.

Thats how i do it in my viewhelper:
/* @var $GLOBALS['TSFE'] \TYPO3\Frontend\Controller\TypoScriptFrontendController */
$title = $this->renderChildren();
$GLOBALS['TSFE']->page['title'] = $title;
$GLOBALS['TSFE']->altPageTitle = $title;
$GLOBALS['TSFE']->indexedDocTitle = $title;

How can i fix this?



More information about the TYPO3-dev mailing list