[TYPO3-english] Include html template into html template

Perica Matic perica at net.hr
Fri Jun 26 13:23:04 CEST 2009


Thx. it works perfectly!

"JoH asenau" <info at cybercraft.de> wrote in message 
news:mailman.1.1246014617.14165.typo3-english at lists.netfielders.de...
>> I want to separate my main html template into 3 templates - header,
>> mainbody and footer. How can i include ie. header html template into
>> my main html template. I tried this:
>
> You can do it the same way you included your main template: Use the 
> TEMPLATE
> element.
>
> marks {
>  WHATEVER = TEMPLATE
>  WHATEVER {
>    template = FILE
>    template.file = blah
>    workOnSubpart = SOMETHING
>  }
> }
>
> If you want to create a real header-section you have to do it another way
> though, since TYPO3 is creating it's own header.
> You can deativate this:
>
> config.disableAllHeaderCode = 1
>
> and then create you own header:
>
> page.headerData.10 = TEMPLATE
> page.headerData.10 {
>    blah
> }
>
> HTH
>
> Joey
>
> -- 
> Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> (If you have no clues: simply shut your gob sometimes!)
> Dieter Nuhr, German comedian
> Twitter: http://twitter.com/bunnyfield
> Xing: http://contact.cybercraft.de
> T3 cookbook (2nd edition): http://www.4any1.de
> TYPO3 Schulung: http://workshops.eqony.com
>
> 




More information about the TYPO3-english mailing list