[TYPO3-dam] get secure link to DAM record from Fluid

Lorenz Ulrich lorenz-typo3 at visol.ch
Wed Nov 23 15:15:51 CET 2011


Hi Stefano

 > i'm happily integrating links to DAM records in and Extbase/Fluid 
extension
 >
 > right now i'm rendering the links to the physical file through the
 > {dam.file_path}{dam.file_name} properties
 >
 > but now i would like to use the new 1.2.1 features to secure file links
 > plugin.tx_dam_tsfemediatag.tag.typolink.jumpurl = 1
 > plugin.tx_dam_tsfemediatag.tag.typolink.jumpurl.secure = 1
 >
 > what do you suggest to create that url from a Fluid template?

Did you try using the link ViewHelper? Since this also uses Typolink 
function and mediatag just extends it, it could work out of the box 
(still I doubt it).

Try something like

<f:link.external uri="media:{media.uid}">

Best regards,

Lorenz

Am 22.11.2011 13:15, schrieb Stefano Cecere:



More information about the TYPO3-project-dam mailing list