[TYPO3] innerWrap problem different content element
Kap
kap at os.dk
Tue Jan 24 08:39:21 CET 2006
Hallo Tapio
I have tried this
tt_content.stdWrap.innerWrap.cObject = TEXT
tt_content.stdWrap.innerWrap.cObject {
value = <div class="contentpage_div"> | </div>
}
And it works like I wanted, but I would like different styles for the
content.getLeft, content.get, content.getRight, content.getBorder
Is that possible.?
> Well Tapio
>
> I was looking for a solution, and not just to get my poor knowledge out in
> the open...........
you can't have the same wrap for all content elements.
wraps depends on defined data.wrap for each content element type.
if you define for a subpart any wrap they concern the whole block - with
different wraps you can nest wraps
<div class="outerWrap">|</div>
<div class="innerWrap">|</div>
and the output is
<div class="outerWrap"><div class="innerWrap">
here your content element
</div></div>
>
> Emne: Re: [TYPO3] innerWrap problem diferent content element
>
> Kap wrote:
>
>>
>>
>>I have this
>> subparts.content_main < styles.content.get
>>
>> subparts.content_main.stdWrap.required = 1
>>
>> subparts.content_main.stdWrap.innerWrap = <div
class="contentpage_div">|</div>
>>
>> subparts.content_border < styles.content.getBorder
>>
>> subparts.content_border.stdWrap.required = 1
>>
>> subparts.content_border.stdWrap.innerWrap = <div
>>class="contentpageborder_div"> | </div>
>>
>>It wrap the whole content elemens, but I want the innerWrap function..?
More information about the TYPO3-english
mailing list