[TYPO3] Wraping content of a plugin
Tapio Markula
tapio.markula at atwebteam.com
Wed Mar 7 21:35:23 CET 2007
JoH asenau kirjoitti:
>>> Recently I had a post about how to wrap header separately from the
>>> body of the content element. I learned I need to modify different
>>> tt_content.xxxx.20.wrap = somw | wrap. However I cannot figure out
>>> what is the xxxx for plugins? Can this be done?
>> Plugins are USER or USER_INT objects, they must implement wrap
>> themselves.
>
> Well - you can wrap the content element "insert plugin" which can be found
> at:
>
> tt_content.list
>
> the original TS code for this element in CSS-styled-content is:
>
> tt_content.list = COA
> tt_content.list {
> 10 =< lib.stdheader
> 20 = CASE
> 20 {
> # all the available plugins
> # are listed here by number
> # or name
> }
> }
>
>
> Since CASE offers stdWrap properties you could do something like this:
>
> tt_content.list.20.stdWrap.wrap = <bodywrap>|</bodywrap>
>
> But this means: Each plugin element will get the same bodywrap regardless of
> the plugin that's inside.
There has been also a question how to wrap *both* header and content
itself so that the wrap would be wrap arousn 10 *and* 20
Nobody has given a good example to do that.
It would be nice if that would not repeat for every content type.
Nobody
More information about the TYPO3-english
mailing list