Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Get url of uploaded file

Started by Matt 9 years ago · 0 replies · 844 views
9 years ago

Hi there!
I created file upload section inside my admin area.

YAML
        header.custom.portsPositionFile:
          type: file
          destination: 'user/themes/hlg/uploads'
          label: Select file with port position list
          accept:
            - .pdf

Now I want to display url to this file inside standard html "a" tag. How to do that?

Suggested topics

Topic Participants Replies Views Activity
Support · by stell, 7 days ago
5 240 39 minutes ago
Support · by gravinator, 1 month ago
5 454 3 hours ago
Support · by Gravver, 2 weeks ago
6 280 1 week ago
Support · by Marcel, 4 weeks ago
2 338 1 week ago
Support · by blu3prince, 2 weeks ago
1 255 2 weeks ago