Jump to main content Jump to doc navigation

FileLister's fileTpl Chunk

This is the Chunk displayed with the &fileTpl property on the FileLister snippet.

Default Value

<tr class="[[+cls]]">
    <td class="feo-filename">[[+link]]</td>
    <td class="feo-filesize">[[+filesize]]</td>
    <td class="feo-lastmod">[[+lastmod:date=`[[+dateFormat]]`]]</td>
</tr>

Available Placeholders

Name Description
link The link to view or download the file.
filename The basename of the file.
filesize The filesize, formatted.
bytesize The size in bytes of the file.
extension The file extension of the file.
lastmod The last modified date, in timestamp format.
dateFormat The dateFormat string passed into the FileLister snippet.
path The absolute path to the file.
relativePath The relative path to the 'path' property passed into the FileLister snippet.
navKey The navKey being used for link generation.

See Also

  1. FileLister.FileLister
    1. FileLister.FileLister.directoryTpl
    2. FileLister.FileLister.fileLinkTpl
    3. FileLister.FileLister.fileTpl
    4. FileLister.FileLister.pathTpl