Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Get url of uploaded file

Started by Matt 9 years ago · 0 replies · 729 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 Paul Hodges, 6 days ago
13 220 8 hours ago
Support · by gtx, 4 days ago
2 127 3 days ago
Support · by Anna, 2 weeks ago
9 300 3 days ago
Support · by TomW, 1 week ago
4 165 6 days ago
Support · by Anna, 1 week ago
4 173 1 week ago