Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downloadLink ViewHelper by url as string? #108

Open
marvinschroeder opened this issue Jul 2, 2018 · 1 comment
Open

downloadLink ViewHelper by url as string? #108

marvinschroeder opened this issue Jul 2, 2018 · 1 comment

Comments

@marvinschroeder
Copy link

Using the downloadLink ViewHelper is it possible to make links to a file referenced by a url defined by a static string?

Example:

{namespace sd = BeechIt\FalSecuredownload\ViewHelpers}
<sd:downloadLink file="fileadmin/folder/file.pdf" uriOnly="true" />

Regards,
Marvin

@fsaris
Copy link
Contributor

fsaris commented Jul 2, 2018

The downloadLinkViewHelper van only handle FileReference and File objects. The file uid is needed for the cores fileDump mechanism

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants