<txp:file_download_name /> single tag, 1 attributes

file_download_name

The file_download_name tag is a single tag that Textpattern will replace with the name of the file to download. Should be used in a download form or within a file_download_link tag.

attributes

title="0" (boolean) 
  • Whether to display the file download name or its title.
  • Values: 0 (name), or 1 (title).

genealogy

Version 4.3.0

  • title attribute added
<txp:file_download_name /> 1 examples

Display the name of a file, linked to download

<txp:file_download_link filename="my_presentation.pdf">
<txp:file_download_name /> [<txp:file_download_size format="mb" decimals="2" />]
</txp:file_download_link>

Other tags used: file_download_link, file_download_size