Table of Contents

txp:file_download_downloads

The file_download_downloads tag is a Single Tag. Textpattern will replace this tag with the number of times a file has been downloaded. Should be used in a download form.

Syntax

The file_download_downloads tag has the following syntactic structure…

<txp:file_download_downloads />

Attributes

There are no attributes associated with file_download_downloads.

Examples

Display the number of downloads following "downloads:"

<txp:text item="downloads" />: <txp:file_download_downloads />

Default "files" form

<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 />