Tense Index: Templates: files

Inserts a list of files that are in the current directory. This tag should always have a start and end tag. Everything in between will be repeated for each file. If it’s inside a <tenseindex:gallery> tag, then it will only display image files. If it’s inside a <tenseindex:list> tag, then it will only display non-image files. See the gallery and list tags for more information.

Attributes

sort: the direction to sort the files. Possible values are “name forward”, “size forward”, “date forward”, “name reverse”, “size reverse”, and “date reverse”. The default is “name forward”.

Example

<tenseindex:files sort="date reverse">
<tenseindex:filelink popup="false" /> (<tenseindex:filesize />)<br />
</tenseindex:files>

Last updated November 09th, 2007

You are here: Tense Code: Tense Index: Templates: files
Can't find what you're looking for? View a complete site map.