[Typo3-german] Keine Bilder
cup7.com
info at cup7.com
Mon Sep 12 00:04:27 CEST 2005
Hi Andreas
vielen Dank für den Denkansatz. Bei Deinem code kam unter meiner Box nochmal Bild mit Text, aber ausserhalb der Box. Ich hab das dann mit einem weiteren COA so hingefrickelt, dass es nun funzt.
Hier der code, für idividuelle Boxes in der rechten Spalte (über colpos auch auf andere Spalten übertragbar:
temp.rightColumn = CONTENT
temp.rightColumn {
table = tt_content
select.orderBy = sorting
# colPos ist das Datanbankfeld, dass die Spalte bestimmt: 0=normal, 1=links, 2=rechts, 3=rand
select.where = colPos=2
select.languageField = sys_language_uid
renderObj = COA
renderObj.10 = TEXT
renderObj.10 {
field = header
wrap = <div align="center"><table background="{$mainDir}/layout/{$colorDir}/Boxheader.gif" width="150" height="17" border="0" cellspacing="0" cellpadding="0"><tr><td class="navtop" valign="bottom"><b> | </td></tr></table>
}
renderObj.20 = COA
renderObj.20.wrap = <table class="new" width="150" cellspacing="0" cellpadding="5"><tr><td align="left"> | </td></tr></table>
renderObj.20.1 = IMGTEXT
renderObj.20.1 {
field = bodytext
parseFunc {
makelinks = 1
makelinks.http.keep = path
makelinks.http.extTarget = _blank
makelinks.mailto.keep = path
tags {
link = TEXT
link {
current = 1
typolink.extTarget = _blank
typolink.target = _self
typolink.parameter.data = parameters : allParams
}
}
}
}
renderObj.20.2 = IMGTEXT
renderObj.20.2 {
text.field = bodytext
text.wrap = | <br>
text.parseFunc < tt_content.text.20.parseFunc
imgList.field = image
textPos.field = imageorient
imgPath = uploads/pics/
imgObjNum = 1
1 {
file.import.current = 1
file.width.field = imagewidth
imageLinkWrap < tt_content.image.20.1.imageLinkWrap
}
maxW = 70
maxWInText = 70
cols.field = imagecols
border.field = imageborder
caption {
1 = TEXT
1.field = imagecaption
1.wrap = <font size="1"> |</font>
}
borderThick = 2
colSpace = 10
rowSpace = 10
textMargin = 10
}
}
Liebe Grüsse, Claus v. Pilchau
cup7.com
-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/german-user-list-archive/thread/110138143/
More information about the TYPO3-german
mailing list