[TYPO3-english] [TV] Including content from other pages.

Andreas Burg typo3 at andreasburg.de
Fri Mar 6 15:56:23 CET 2009


Tommy,

> I've created a pages with elements such as header, footer and I would 
> like to include those on every pages.

put some markers in your HTML-Template like
###HEADER### ###FOOTER###

with your TS-Template you can fill those markers with everything you want f.e.

page.10.marks.HEADER = HTML
page.10.marks.HEADER.value = <div>Hello World!</div>

# or better:

lib.header = HTML
lib.header.value = <div>Hello World!</div>

page.10.marks.HEADER =< lib.header

-- 
Andreas

Mailing list rules & guidelines (Mailing list Regeln & Leitfaden):
http://typo3.org/community/mailing-lists/
http://typo3.org/community/mailing-lists/mailing-list-rules-guidelines/


More information about the TYPO3-english mailing list