Project

General

Profile

Actions

Bug #54467

closed

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

Added by Bill Dagou over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-12-17
Due date:
% Done:

100%

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

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


Files

typo3.updated.zip (27.4 KB) typo3.updated.zip Bill Dagou, 2014-01-13 08:17
PageRenderer.html (1.04 MB) PageRenderer.html Bill Dagou, 2014-01-13 09:36
PageGenerator.html (481 KB) PageGenerator.html Bill Dagou, 2014-01-13 09:36
title.diff (1.98 KB) title.diff Make title changable for USER_INT ext Markus Klein, 2014-01-13 11:02
0001-BUGFIX-title.patch (5.59 KB) 0001-BUGFIX-title.patch Patch should make changes to TSFE->altPageTitle working again in *_INT Markus Klein, 2014-01-13 14:54

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #62080: $GLOBALS['TSFE']->page['title'] in USER doesn't work anymore for cached pagesClosedMarkus Klein2014-10-07

Actions
Actions

Also available in: Atom PDF