[TYPO3-english] Content showing inside div element problem
Katja Lampela
katja.lampela at lieska.net
Wed Apr 25 20:05:45 CEST 2012
Hi Toni,
I use extension oxylab_stdwrap to achieve that. It adds to each content
element 3 fields you can use: id, class, style.
It has one validation issue though; many content elements get same id,
but adding this to your setup clears it (thanks to Jo H.):
tt_content.stdWrap.outerWrap >
tt_content.stdWrap.outerWrap.cObject = COA
tt_content.stdWrap.outerWrap.cObject {
10 = TEXT
10.dataWrap = <div style="{field:tx_oxylabstdwrap_inlinestyle}"
class="co-n{cObj:parentRecordNumber}
20 = TEXT
20.field = tx_oxylabstdwrap_class
20.required = 1
20.noTrimWrap = | ||
30 = TEXT
30.value = "
40 = TEXT
40.field = tx_oxylabstdwrap_id
40.wrap = id="|"
40.required = 1
50 = TEXT
50.value = >|</div>
}
Kind regards,
Katja
25.4.2012 18:31, Toni Andric kirjoitti:
> What i need is this:
>
> <-- 960px div div id="container" -->
>
> <div class="box"><div class="box"><div class="box"><div class="box">
> Record #1 Record #2 Record #3 Record #4
> </div> </div> </div> </div>
>
>
> There will be over 40 boxes on page. I need TS that takes any content i
> put on PID in BE, but lets say colPos = 1 and places it in a new box
> with same <div class="box col2>.
>
> I am aware i can put 4 different div's and connect em to get, getLeft,
> getRight, getBorder but that isnt gonna work cause i need every content
> in <div class="box col2"> for it to work.
>
> Thx
>
More information about the TYPO3-english
mailing list