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 · 763 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, 4 weeks ago
19 484 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago