Hallo, ich habe ein neuen Inhalt mit einer eigenen Extension generiert.
Mittels eines COA Objektes hole ich mir die Inhalte aus der Datenbank:
PRODUKT = CONTENT
PRODUKT {
table = tx_gbaprodukte_liste
select.pidInList = this
wrap = <table width="100%" border="0" cellpadding="4" cellspacing="2">|</table>
renderObj = COA
renderObj {
10 = IMAGE
10.file.import = fileadmin/produktbilder/
10.file.import.field = image
10.file.import.listNum = 0
10.stdWrap.wrap = <tr><td bgcolor="#EEEEEE" rowspan="2" valign="top">|</td>
20 = TEXT
20.field = title
20.wrap = <td bgcolor="#EEEEEE" colspan="3" class="content_headline" valign="top">|</td></tr>
30 = TEXT
30.field = copy
30.wrap = <tr><td valign="top">|</td>
40 = IMAGE
40.file.import = fileadmin/produktbilder/
40.file.import.field = illustration
40.file.import.listNum = 0
40.stdWrap.wrap = <td valign="top">|
50 = IMAGE
50.file = fileadmin/images/dl.gif
}
}
Das letzte Element (50) soll ein downloadlink für eine PDF-Datei sein, die in der Tabellenspalte "documentation" gespeichert ist.
Wie realisiere ich das?
Für Vorschläge wäre ich dankbar.
Grüße