Issue Bug Closed

#54467$GLOBALS['TSFE']->altPageTitle doesn't work any more in extensions

Bill Dagou 12/17/13, 04:40 updated 10/02/18, 12:07

Description

Dear TYPO3 Team,

I just found $GLOBALS[‘TSFE’]->altPageTitle doesn’t work any more in extensions. I tried print out $pageContent and $GLOBALS[‘TSFE’]->altPageTitle in \TYPO3\CMS\Frontend\Page\renderContent(), the real contents are marked as something like , and $GLOBALS[‘TSFE’]->altPageTitle is empty. So I guess $GLOBALS[‘TSFE’]->altPageTitle is filled with extensions after renderContent() (real function would be renderContentWithHeader()).

I used to set $GLOBALS[‘TSFE’]->altPageTitle = ‘bla bla bla’ in other extension in v4.5, and it worked well. Seem the problem also happens in v6.0, but I’m using v6.1 right now.

Cheers,
Bill

Reviews 2