The file_download tag is a Single Tag. Textpattern will replace this tag with a file download form. Page Column.
The file_download tag has the following syntactic structure…
<txp:file_download />
Tag will accept the following attributes (case-sensitive):
Use specified form. Default is files. See Form.
File id of the file to link to. Default is unset, nothing is returned.
Filename of the file to link to. Default is unset, nothing is returned.
<txp:file_download form="files" id="1" />
<txp:text item="file" />: <txp:file_download_link> <txp:file_download_name /> <txp:file_download_size format="auto" decimals="2" /> </txp:file_download_link> <br /> <txp:text item="category" />: <txp:file_download_category /><br /> <txp:text item="download" />: <txp:file_download_downloads />
Other tags used: <file_download_category />, <file_download_downloads />, <file_download_link />, <file_download_name />, <file_download_size />, <text />