File download downloads

On this page:

Syntax

<txp:file_download_downloads />

The file_download_downloads tag is a single tag that Textpattern will replace with the number of times the current file has been downloaded. Should be used in Textpattern ‘file’ type Form templates.

Attributes

This tag has no attributes.

Examples

Example 1: Display the number of downloads

<p>
    Downloads:
    <txp:file_download_downloads />
</p>

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.