[TYPO3] Wrap everything but header of a content element
Vlatko Surlan
vlatkoDOTsurlan at gmail.com
Sat Mar 3 20:17:32 CET 2007
Frederic Gaus wrote:
> JoH asenau schrieb:
>>> You said you are able to wrap the header _and_ the whole element using
>>> separate headers. So what you have to do is:
>> I meant separate wraps :-)
>>
>> Joey
>>
>
> Well, you could try the following:
>
> tt_content.text.10 < lib.stdheader
> tt_content.text.10.wrap = <headerwrap>|</headerwarp>
> tt_content.text.20.wrap = <bodywrap>|</bodywrap>
>
> But this works only for one Contentelement. For all CE I have only a
> very dirty solution:
>
> lib.stdheader.wrap = <headerwrap>|</headerwrap>
> tt_content.text.10.wrap = <bodywrap>|</bodywrap>
> tt_content.header.10.wrap = <bodywrap>|</bodywrap>
> tt_content.image.10.wrap = ...
> ....
>
> And so on. Is that what you want??
>
> Greetings
>
> Frederic
>
This is exactly what I needed. I wanted it so I can put some padding
around the content while the header is 100% width of the parent with a
graphic background. I had some fantasy I would be able to specify
content wrap for all content type in one place. Thank you!
More information about the TYPO3-english
mailing list