[Typo3] Wrapping whole content
Robert Markula
robert.markula at gmx.net
Thu May 19 15:15:38 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]
On a related question, how can I wrap plugins?
I can wrap normal Content Elements with this statement:
tt_content.textpic.stdWrap.wrap = <div class="textpic"> | </div>
But how can I do the same with e.g. the tt_news plugin?
Regards,
Ro
More information about the TYPO3-english
mailing list