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

Get url of uploaded file

Started by Matt 8 years ago · 0 replies · 682 views
8 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 BenLaKnet, 6 days ago
1 125 3 days ago
Support · by BenLaKnet, 1 week ago
5 196 3 days ago
Support · by kskt, 3 days ago
0 48 3 days ago
Support · by David Meissner, 3 days ago
0 48 3 days ago
Support · by David Meissner, 4 days ago
3 94 3 days ago