[TYPO3-dev] USER_INT manipulating <title> tag
Martin Kutschker
masi-no at spam-typo3.org
Fri Jun 19 15:59:07 CEST 2009
Jonas Dübi schrieb:
> Hi Bartosz
>
> Thank you for the answer!
>
> Bartosz Aninowski schrieb:
>
>> TS
>> config.noPageTitle = 2
>>
>> PHP
>> $GLOBALS['TSFE']->additionalHeaderData['myCustomUserIntTitle'] =
>> "<title>" .$this->getTitle($newTitle). "</title>";
>>
>> works with USER and USER_INT plugin
>>
>
> That's realy a good idea. There is just the problem, that not all TYPO3
> installations use the same integer for adding the regular title to
> additonalHeaderData in TypoScript.
>
> But that's easy to solve, by searching the additionalHeaderData for
> <title> and replacing it.
>
> What would be cool is a global solution with a clean function which can
> be used by every extension and works with all TYPO3 installations ;-)
Obvious solution: a standard cObject (just like the one for the body tag).
Masi
More information about the TYPO3-dev
mailing list