TYPO3 4.7, doppelter stdWrap!?
| Autor | Nachricht |
|---|---|
|
Verfasst am: 20. 06. 2012 [09:31]
|
|
|
ra.s
Themenersteller
Dabei seit: 06.04.2006
Beiträge: 101
|
Hallo zusammen, ich habe folgendes Problem: Wenn ich tt_content.textpic.20 um stdWrap.wrap erweitere, wird mir dieser wrap 2 mal um tt_content.textpic.20 gelegt. TYPOSCRIPT tt_content.textpic.20.stdWrap.wrap = <div class="box">|</div> Ergebnis: HTML Verstehe ich da was am überarbeiteten Content-Rendering nicht oder ist das ein Bug? Grüße, Ralf |
|
Verfasst am: 15. 04. 2013 [16:41]
|
|
|
SomehowLost
Dabei seit: 21.12.2005
Beiträge: 270
|
Hallo, um zumindest eine Lösung anzubieten: TYPOSCRIPT tt_content.textpic.20 > tt_content.textpic.20 = COA tt_content.textpic.20 { wrap = <div class="box">|</div> 10 < tt_content.image.20 10 { text.10 = COA text.10 { if.value = 24 if.isGreaterThan.field = imageorient 10 = < lib.stdheader 10.stdWrap.dataWrap = <div class="csc-textpicHeader csc-textpicHeader-{field:imageorient}">|</div> } text.20 = < tt_content.text.20 text.wrap = <div class="csc-textpic-text"> | </div> } } Das funktionert zumindest bei Version 6 (Version 4.7 hat an dieser Stelle das gleiche TS). Viele Grüße, Andreas |



