Ich glaube so:
temp.textpicOriginal = COA
temp.textpicOriginal {
10 = COA
10.if.value = 25
10.if.isLessThan.field = imageorient
10.10 = < lib.stdheader
20 = < tt_content.image.20
20.text.10 = COA
20.text.10 {
if.value = 24
if.isGreaterThan.field = imageorient
10 = < lib.stdheader
10.stdWrap.dataWrap = <div class="csc-textpicHeader
csc-textpicHeader-{field:imageorient}">|</div>
}
20.text.20 = < tt_content.text.20
}
temp.textpicCustom = COA
temp.textpicCustom {
10 = COA
10.if.value = 25
10.if.isLessThan.field = imageorient
10.10 >
20 = < tt_content.image.20
20.text.10 = COA
20.text.10 {
if.value = 24
if.isGreaterThan.field = imageorient
10 = < lib.stdheader
10.stdWrap.dataWrap = <div class="csc-textpicHeader
csc-textpicHeader-{field:imageorient}">|</div>
}
20.text.15 = < lib.stdheader
20.text.20 = < tt_content.text.20
}
tt_content.textpic >
tt_content.textpic = CASE
tt_content.textpic {
key.field = imageorient
0 < temp.textpicOriginal
1 < temp.textpicOriginal
2 < temp.textpicOriginal
3 < temp.textpicCustom
8 < temp.textpicOriginal
9 < temp.textpicOriginal
10 < temp.textpicOriginal
17 < temp.textpicOriginal
18 < temp.textpicOriginal
25 < temp.textpicOriginal
26 < temp.textpicOriginal
}
Am 13.11.2013 14:17, schrieb Marco Brüggemann:
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
--
*Marco Brüggemann - schauart designservice*
Radewiesenweg 9
12355 Berlin
fon & fax: 030 66 46 30 80
email: ma...@schauart.de
web: www.schauart.de
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german