[TYPO3-UG Dutch] tt_content outerWrap, div te veel bij insert records

Muriel le Pair typo3 at strangefruit.nl
Mon Mar 7 13:33:23 CET 2011


Op 7-3-2011 13:04, Loek Hilgersom schreef:
> ## Wrap CE's except when CType is shortcut
> tt_content.stdWrap.outerWrap.cObject = CASE
> tt_content.stdWrap.outerWrap.cObject {
>      key.field = CType
>      default = TEXT
>      default.value = <div class="cBox">|</div>
>      shortcut = TEXT
>      shortcut.value = |
> }


Aha geniaal! Dit werkt inderdaad :)

## Wrap CE's except when CType is shortcut
outerWrap.cObject = CASE
outerWrap.cObject {
   key.field = CType
   default = TEXT
   default.value = <div class="cblok">|</div>
   default.if {
     equals.field = colPos
     value = 2
   }
   shortcut = TEXT
   shortcut.value = |
}

--
met vriendelijke groet,

Muriel le Pair


More information about the TYPO3-UG-Dutch mailing list