[TYPO3] Content header wrapping?
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Wed Jan 23 14:45:02 CET 2008
Hi,
It is possible. Look into how each CType is rendered using the TSOB. In
general terms you will need to apply a wrap for each tt_content.XXX.20 item
ex:
tt_content.text.20.wrap=<div class="content">|</div>
tt_content.image.20.wrap=<div class="content">|</div>
Obviously there will most likely be slightly more complex than the
above, but not much more complex.
hth
niklas.eliasson at anovo.se wrote:
> Well, I have a design in mind looking something like:
>
> <ascii art>
> _______
> /Header | <- One <div class="content-header">
> |________|
> | |
> |Some | <- Another <div class="content">
> |Content |
> |________|
> _______
> /Header | <- One <div class="content-header">>
> |________|
> | |
> |Some |
> |other | <- Another <div class="content">>
> |Content |
> |________|
>
> </ascii art>
>
> Is this even possible? I managed to wrap the stdheader with:
> # lib.stdheader.stdWrap.outerWrap = <div class="content-header">|</div
>
> But I don't want to wrap all headers, only headers of the Content element.
>
> I tried
> # tt_content.header.outerWrap = <div class="content-header">|</div
> But that won't work at all.
>
> And then, I want to wrap the content in a separate div, underneath the
> header. This because I want to have borders 'round the actual content
> element, but not in the header. This applies to all content elements.
>
> So I want to wrap the header in a div on top of the actual content, and
> wrapping all kinds of content in a div under the header.
>
> Does someone know how to do this? If it is even possible
>
>
> -----Ursprungligt meddelande-----
> Från: typo3-english-bounces at lists.netfielders.de
> [mailto:typo3-english-bounces at lists.netfielders.de] För Bernhard Kraft
> Skickat: den 18 januari 2008 22:07
> Till: typo3-english at lists.netfielders.de
> Ämne: Re: [TYPO3] Content header wrapping?
>
> niklas.eliasson at anovo.se wrote:
>> Hi! Iv'e been using TYPO3 for some time now, but the whole TS-thing is
> quite
>> strange to me. Now, I need to ask:
>>
>>
>>
>> Is it possible for me to wrap the headers of all elements, and the
>> content-elements themselves, separately, through the template setup?
>
> What do you mean by "separately" ??? Different for each content element ....
> like for text, image, textwithimage ?
>
>
> greets,
> Bernhard
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list