[TYPO3-german] Re: Image-Rendering anhand des gewählten Layouts

Alexander Averbukh alav at gmx.net
Fri Jul 4 12:45:11 CEST 2014


ich habe die Lösung gefunden

temp.image < tt_content.image.20
tt_content.image.20 = CASE
tt_content.image.20 {
    key.field = layout
    # Original wieder setzen.
    default < temp.image
    1 < temp.image
    # Die Position 100 bezieht sich auf den TCEFORM Wert, z.B. TCEFORM.tt_content.layout.addItems.100 = margin-right40.
    # Wird das Label margin-right40 als Layout im Content Element Bild gewählt, wird die nachfolgende Konfiguration verwendet.
    100 < temp.image
    100 {
        rendering.noCaption >
        rendering.singleNoCaption.allStdWrap.innerWrap.cObject.0.value = <ul class="example-orbit" data-orbit>|</ul>
        rendering.noCaption.singleStdWrap.wrap.override = <li>|</li>
    }
}


More information about the TYPO3-german mailing list