Use an icon or altenative text on file-url
-
I use a file-upload-field. No problem.
When I display the record, I use the shortcode[pdb_single template="single-value" fields="het_rapport"]
. It shows a complete URL + text as long as the filename.I tried to make a new template-page for the single-value-url and use
echo $this->field->raw_value()
in the template, to make a link like ‘Download here’, but it doesn’t show anything.$this->field->print_value()
puts the complete url (<a href….).How can I make my own link + text (or a button) to download?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Use an icon or altenative text on file-url’ is closed to new replies.