Table of Contents

txp:file_download_name

The file_download_name tag is a Single Tag. Textpattern will replace this tag with the name of the file to download. Should be used in a download form or with download link tags.

Syntax

The file_download_name tag has the following syntactic structure…

<txp:file_download_name />

Attributes

There are no attributes associated with file_download_name.

Examples

Display the name of a file, linked to download

<txp:file_download_link filename="info">
<txp:file_download_name /> <txp:file_download_size format="auto" decimals="2" />
</txp:file_download_link>

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