Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Get url of uploaded file

Started by Matt 9 years ago · 0 replies · 804 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 Marcel, 5 days ago
0 85 5 days ago
Support · by JakobDB, 6 days ago
1 91 6 days ago
Support · by ramenos, 7 days ago
3 103 6 days ago
Support · by gravinator, 2 weeks ago
3 229 1 week ago
Support · by Roger Parkinson, 2 weeks ago
3 308 2 weeks ago