Hallo,

ich möchte das Contentelement textpic umbauen:

oben soll das Bild, dann der Textbereich unterhalb - jeweils durch <div> geteilt

Als "Schalter" möchte ich "textpic" benutzen. Dafür habe ich vorher im TS-Conf eine neue Bildeigenschaft angelegt:

#####
#eigene Image Operations (belegt sind: imgori-0; imgori-1; imgori-2; imgori-8; imgori-9; imgori-10; imgori-17; imgori-18; imgori-25; imgori-26)
#
TCEFORM.tt_content.imageorient.addItems.3 = Bild über Überschrift


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
leider werden so alle meine Bildeinstellungen überschrieben ...
wie muss das Skript aussehen, damit nur, wenn "imageorient=3" ist der content umgebaut wird?

tt_content.textpic = COA
tt_content.textpic {
    10 = CASE
    10 {
        key.field = imageorient

        3 = COA
        3 {
            20 = < tt_content.image.20
            20.text.10 = COA
            20.text.10 {
                10 = <
10.stdWrap.dataWrap = <div class="csc-textpicHeader csc-textpicHeader-{field:imageorient}">|</div>
            }
            20.text.20 = < lib.stdheader
            20.text.21 = < tt_content.text.20
        }
    }
}


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Danke
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an