Hallo,
ich bin am verzweifeln, ich versuche Text mit Bild zu formatieren.
Ich hätte gerne eine Tabelle die so aussieht:
---------------------------------------------------------
| Überschrift ...................................................|
---------------------------------------------------------
| Bild1 Bild2 Bild3 Bild4 ...................................|
|....................................................................|
| Text ............................................................|
---------------------------------------------------------
Ich brauche doch 3 wraps?
1 für die Überschrift
1 für die Bilder und
1 für de Text
hier ist ein TS den ich im Netz gefunden hab:
temptextpic < tt_content.textpic
tt_content.textpic >
tt_content.textpic = COA
tt_content.textpic{
10 = IMAGE
10.file{
import= uploads/pics/
import.field=image
import.listNum=0
width.field=imagewidth
}
#10 < tt_content.image.20.1
10.imageLinkWrap=1
10.imageLinkWrap {
bodyTag=
wrap=|
width=800m
height=600m
JSwindow=1
JSwindow {
newWindow=0
expand=0,0
}
enable{
field=image_zoom
ifEmpty.field=image_link
}
typolink {
parameter {
field=image_link
target=page
extTarget=_blank
}
}
}
10.wrap=|
15=TEXT
15.value=
15.if.isFalse.field=image
18< tt_content.text.10
18.wrap=|
19=TEXT
19.value=
19.if.isFalse.field=header
20 < tt_content.text.20
#20=TEXT
#20.field=bodytext
#20.wrap=|
#20.nl2br=1
22=COA
22.wrap= |
22 {
10= IMAGE
10.file.import=uploads/pics/
10.file.import.field=image
10.file.import.listNum=1
10.file.width=100
10.wrap=|
10.imageLinkWrap=1
10.imageLinkWrap {
bodyTag=
wrap=|
width=800m
height=600m
JSwindow=1
JSwindow {
newWindow=0
expand=0,0
}
enable{
field=image_zoom
ifEmpty.field=image_link
}
typolink {
parameter {
field=image_link
target=page
extTarget=_blank
}
}
}
20=IMAGE
20 < .10
20.file.import.listNum=2
30=IMAGE
30 < .10
30=IMAGE
30.file.import.listNum=3
40=IMAGE
40 < .10
40.file.import.listNum=4
}
25 = TEXT
25.value=INFO
25.typolink{
#target=123x456:menubar=0,scrollbars=0
parameter.field=header_link
parameter.wrap=|,1 516x450:menubar=0 title2
# parameter=6,1 123x456:menubar=0,scrollbars=0 title
no_cache=1
JSwindow_params=menubar=0,scrollbars=1,resizable=0,location=0,toolbar=0
}
25.wrap=<div align="right">|</div>
25.if.isTrue.field=header_link
30=TEXT
30.value=
}
leider blick ich da nicht durch, da sind ja hunderte wraps???
hier mal ein beispiel wie ich Text formatiert hab:
########
# Text #
########
tmp_tt_content_text < tt_content.text
tt_content.text >
tt_content.text = COA
tt_content.text.10 = TEXT
tt_content.text.10 {
field = header
wrap = <div align="center"><font face="Tahoma" size="2"><table class="NDMR-raender" cellpadding="3" cellspacing="0" width="99%"><tr><td valign="top" colspan="2" class="NDMR-header"> | </td></tr>
parseFunc < tmp_tt_content_text.10.parseFunc
editIcons < tmp_tt_content_text.10.editIcons
}
tt_content.text.20 = TEXT
tt_content.text.20 {
field = bodytext
fieldRequired = bodytext
wrap = <tr><td valign="top" class="NDMR-row"> | </td></tr></table></font></div>
parseFunc < tmp_tt_content_text.20.parseFunc
editIcons < tmp_tt_content_text.20.editIcons
}
kann mir bitte jemand helfen?