Hallo Typos,
ich benutze das tt_link extansion. Nun wollte ich nicht nur den Linkk selbst verlinken sondern auch das IMAGE. Dafür habe ich im SETUP folgendes geschrieben:
tt_links = COA
tt_links {
wrap = <table border="0" cellpadding="0" cellspacing="0" width="{$plugin.tt_links.tablewidth}"><tr>| </table><br />
10 = TEXT
10.field = title
10.wrap = <tr><td colspan="3" width="{$plugin.tt_links.datawidth}"><font face="{$plugin.tt_links.titlefont}" size="{$plugin.tt_links.titlefontsize}">|</font></td><tr>
[b] 15 = IMAGE
15.file.import = uploads/pics/
15.file.import.field = image
15.file.import.listNum = 0
15.file.width = {$plugin.tt_links.imagewidth}
15.wrap = <td rowspan="4" align="center"><img src="clear.gif" width="{$plugin.tt_links.clearwidth}" height="1" alt="" /><a href="http://{field:url}"> |</a></td></tr>[/b]
20 = TEXT
20.field = note
20.wrap = <tr><td bgcolor="{$plugin.tt_links.labelbgcolor}" width="{$plugin.tt_links.descriptionwidth}"><font face="{$plugin.tt_links.labelfont}" size="{$plugin.tt_links.labelfontsize}"></font><br /><img src="clear.gif" width="{$plugin.tt_links.descriptionwidth}" height="1" alt="" /></td><td bgcolor="{$plugin.tt_links.databgcolor}" width="{$plugin.tt_links.datawidth}"><font face="{$plugin.tt_links.datafont}" size="{$plugin.tt_links.datafontsize}">|</font></td></tr>
30 = TEXT
30.if.isTrue.field = url
30.dataWrap = <tr><td bgcolor="{$plugin.tt_links.labelbgcolor}" width="{$plugin.tt_links.descriptionwidth}"><font face="{$plugin.tt_links.labelfont}" size="{$plugin.tt_links.labelfontsize}"></font><br /><img src="clear.gif" width="{$plugin.tt_links.descriptionwidth}" height="1" alt="" /></td><td bgcolor="{$plugin.tt_links.databgcolor}" width="{$plugin.tt_links.datawidth}"><font face="{$plugin.tt_links.datafont}" size="{$plugin.tt_links.datafontsize}"><a href="http://{field:url}"> {field:url}</a></font></td></tr>
}
## Transfering to the tt_content.list object:
tt_content.list.20.1 >
tt_content.list.20.1 = CASE
tt_content.list.20.1.key.field = layout
tt_content.list.20.1.0 = CONTENT
tt_content.list.20.1.0 {
table = tt_links
select.pidInList.field = pages
select.where = category={$plugin.tt_links.category}
select.orderBy = {$plugin.tt_links.orderBy} {$plugin.tt_links.desc}
}
aber der link wird nicht geparst, sondern wenn man auf dem bild rollt, sieht man im status bar: http://{field:url}
Ich habe bestimmt sytax fehler, oder?
Vielen Dank!!!
Dana :o