[Typo3] Wrapping whole content

Robert Markula robert.markula at gmx.net
Thu May 19 11:01:53 CEST 2005


Hi,
I have one question which I thought was easy to solve, but I didn't find 
an answer yet.
How can I wrap the whole content area (styles.content.get)?
I know I could do it with
subparts.CONTENT < styles.content.get
subparts.CONTENT.stdWrap.wrap = <...> | </...>

But I need conditions on the wrap. Point is, for each level in the tree 
there should be a different wrap around all dynamic content that is 
output via styles.content.get.

I thought about something like this:
# Wrapping the whole content
[treeLevel = 0]
   ...stdWrap.wrap = <div id="level_0"> | </div>
[end]

Regards
Ro



More information about the TYPO3-english mailing list