[TYPO3-dam] simple Typoscript to render an attachment
stefano cecere
scecere at krur.com
Fri Jan 23 15:29:42 CET 2009
Thanks Martin
yes i found these lines to show images from DAM, but i would like to show just simple <a href="link to file">file title</a> link!
(anyway i could not make tx_dam_tsfe->fetchFileList work neither with images... i'll try deeper..)
stefano
Martin Holtz wrote:
> Hi Stefano,
>
>> i have a custom record which holds references to DAM records
>>
>> does anybody know a simple way to render the file attchment with
>> typoscript?
> http://wiki.typo3.org/De:TSref/IMAGE
>
> bild = IMAGE
> bild.file.import.cObject = USER
> bild.file.import.cObject {
> userFunc=tx_dam_tsfe->fetchFileList
> refField=tx_damttcontent_files
> refTable=tt_content
> }
> the easiest way to get reffield and reftable is to look into the mm
> table of dam.
>
> martin
More information about the TYPO3-project-dam
mailing list