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 />
txp/file_download_description.txt · Last modified: 2008/02/05 16:21 by hcgtv

Home Page | User Forums | Driven by DokuWiki
Copyright © 2008 xPattern