The file_download_link tag is a Container Tag, Textpattern will replace this tag with a download link. The container tags wrap the text or tag assigned to the link.
The file_download_link tag has the following syntactic structure…
<txp:file_download_link> ...your content here... </txp:file_download_link>
Tag will accept the following attributes (case-sensitive):
name of file to download
id of the file to download
Note: id takes precedence over filename, if neither is defined nothing is returned.
<txp:file_download_link id="1"> <txp:file_download_name /> [<txp:file_download_size format="auto" decimals="2" />] </txp:file_download_link>
<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 />