[Typo3] Tempavoila: how to modify Document Header
Georg Rehfeld
georg.rehfeld at gmx.de
Sat Feb 12 16:44:15 CET 2005
Hi,
Christoph Kammermeyer wrote:
> Thanks for the hints, however it doesn't seem to work with TV!
> TS Setup is
>
> contentframe.10 = USER
> contentframe.10.userFunc = tx_templavoila_pi1->main_page
>
> contentframe.headerData.10 = HTML
> contentframe.headerData.10.value {
> <style type="text/css">
> .bg {
> background-attachment: fixed;
> background-image: url({$imageUrl});
> background-repeat: no-repeat;
> background-position: right bottom;
> }
> </style>
> }
>
> But the header data simply isn't added.
Because you have a syntax error in the TypoScript:
- contentframe.headerData.10.value {
+ contentframe.headerData.10.value (
...
- }
+ )
These must be parens, not curly braces (runde Klammern, keine
geschweiften Klammern).
> What I meant by "meta tags" is not the tags from the template but those from
> T3 that where added by the user (like keywords, etc.) How can the be
> included?
Look up page.meta in the TSRef. Also compare config.disableAllHeaderCode
and config.additionalHeaders.
regards, Georg
--
___ ___
| + | |__ Georg Rehfeld Woltmanstr. 12 20097 Hamburg
|_|_\ |___ georg.rehfeld.nospam at gmx.de +49 (40) 23 53 27 10
More information about the TYPO3-english
mailing list