Table of Contents

txp:file_download_description

The file_download_description tag is a Single Tag. Textpattern will replace this tag with the description of the file to download, as defined when uploaded. Should be used in a download form.

Syntax

The file_download_description tag has the following syntactic structure…

<txp:file_download_description />

Attributes

Tag will accept the following attributes (case-sensitive):

escape="html"

Escape HTML entities in description text.

wraptag="html tag"

HTML tag to wrap description text with. Default is empty.

class="class name"

CSS class attribute for description text.

Examples

Display a file's description following "description:"

<txp:text item="description" />: <txp:file_download_description />