Thx. it works perfectly! "JoH asenau" <i...@cybercraft.de> wrote in message news:mailman.1.1246014617.14165.typo3-engl...@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 > >
_______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english