Urs from

As far as I know, there's no such thing as an f:link.file or v:link.file viewhelper.

There used to be a solution using file.originalResource.publicUrl as the value to point the link to, as in

<f:link.page pageUid="{file.originalResource.publicUrl}" target="_blank">

Am I right that this is no longer necessary? I got this (using ext:mask):

<f:link.page pageUid="{file.identifier}" target="_blank">

returning the same value, while originalResource.publicUrl would not even show up in f:debug.

BUT in file.identifier the storage path, e.g. fileadmin, is not present. How do I add it to the viewhelper?

Or, what is the currently recommended solution for a link to a file in TYPO3 7.6?

3 Answers

answered 2 years ago Jigal van Hemert #1

<f:uri.image image="{imageObject}" /> produces the path + filename for your FAL object.

answered 2 years ago minifranske #2

Just use <a href="{file.publicUrl}">{file.name}</a>. When absolute URL or some special configuration is needed use <f:link.typolink parameter="{file.publicUrl}">{file.name}</f:link.typolink>.

answered 10 months ago Masharew #3

This message is posted here using XRumer + XEvil 4.0 XEvil 4.0 is a revolutionary application that can bypass almost any antibot protection. Captcha Bypass Google (ReCaptcha-1, ReCaptcha-2), Facebook, BING, Hotmail, Yahoo, Yandex, VKontakte, Captcha Com - and over 8.4 million other types! You read this - it means it works! ;) Details on the official website of XEvil.Net, there is a free demo version. Check YouTube video "XEvil ReCaptcha2"

Leave a answer: