[Typo3] Wrapping whole content

Juraj Benadik gastan at gastan.sk
Thu May 19 15:29:02 CEST 2005


Robert Markula wrote:
> 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

I have got similar problem. But I have only one branch of a tree I 
needed to wrap, so for quick solution I placed div directly into html 
template :(



More information about the TYPO3-english mailing list