Tense Index: Templates: list

Inserts its contents if there are any files in the current directory that are not images. It should always contain a <tenseindex:files> tag, and it should always be accompanied by a <tenseindex:gallery> section.

If the force attribute is set to true, and less than half of the files in the current folder are images, then all files will be displayed in this section, and the <tenseindex:gallery> section will not be shown.

Attributes

force: true or false. The default is false.

Example

<tenseindex:gallery>
<tenseindex:files>
<tenseindex:fileimage width="180" /><br />
<tenseindex:filedescription />
</tenseindex:files>
</tenseindex:gallery>

<tenseindex:list>
<tenseindex:files>
<h2><tenseindex:filelink /></h2>
<tenseindex:filedescription />
</tenseindex:files>
</tenseindex:list>

Last updated April 09th, 2006

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