[TYPO3-dam] get secure link to DAM record from Fluid (SOLVED)
Stefano Cecere
scecere at krur.com
Thu Nov 24 17:17:16 CET 2011
Lorenz!
IT WORKS!!
here's my fluid (i wrote my n:format.dam viewhelper to get all dam record
fields)
<n:format.dam as="damfile" uid="{document.uid}">
<li>
<f:format.html>
<media {damfile.uid}>{damfile.title} (<n:format.fileSize
filesize="{damfile.file_size}" format="" />)</media>
</f:format.html>
</li>
</n:format.dam>
THANK YOUUUUUUUU
stefano
On Thu, 24 Nov 2011 17:08:47 +0100, Lorenz Ulrich <lorenz-typo3 at visol.ch>
wrote:
> Hi Stefano
>
> As you know, DAM uses the media tag when setting links in RTE. Rendering
> content in fluid means using <f:format.html>. So you could start by
> testing stuff like that:
>
> <f:format.html>
> <link 30>Page 30</link>
> </f:format.html>
>
> This should generate a Typolink to Page 30.
>
> So I don't see why this shouldn't work:
>
> <f:format.html>
> <media 30>Media 30</media>
> </f:format.html>
>
> (Requires proper setup for tx_dam_tsfemediatag.)
> Then TYPO3 parseFunc should be used to create a link. Does it work?
>
> If so, this could also work:
>
> <f:format.html>
> <media {media.uid}>My Media</media>
> </f:format.html>
>
> I'm interested in this topic, so keep me up-to-date.
>
> Buona serata,
>
> Lorenz
>
> Am 24.11.2011 16:38, schrieb Stefano Cecere:
> > On Thu, 24 Nov 2011 16:08:25 +0100, Stefano Cecere <scecere at krur.com>
>
> >
>
--
____ ___ __ _ ______________________
Stefano Cecere
Krur multimedia studio
More information about the TYPO3-project-dam
mailing list