[Typo3-dev] write page.headerData in userFunc

Jan-Erik Revsbech jer at moccompany.com
Sat Jul 2 11:30:02 CEST 2005


Try about doing this:

---snip---
$GLOBALS['TSFE']->additionalHeaderData[] = 'lalala';
---snip---

/Jan-Erik

> Hello Typolist,
> 
> can anyone give me a hint how I can achieve to write headerData in my 
> userFunc? If I set it like that
> 
> ---snip------
> $GLOBALS["TSFE"]->tmpl->setup['page.']['headerData.']['788']="TEXT";
> $GLOBALS["TSFE"]->tmpl->setup['page.']['headerData.']['788.'][
'value']="lalala";
> 
> print_r($GLOBALS["TSFE"]->tmpl->setup['page.']['headerData.']);
> ---snap------
> 
> i can see it in the print_r - anyways, it doesnt get rendered 
> in the FE :(
> 
> anyone has an idea how to solve that?






More information about the TYPO3-dev mailing list