Jump to main content Jump to doc navigation

FileLister's directoryTpl Chunk

This is the Chunk displayed with the &directoryTpl property on the FileLister snippet. Used for directories that are listed.

Default Value

<tr class="[[+cls]]">
    <td colspan="3" class="feo-dirname">[[+link]]</td>

Available Placeholders

Name Description
link The link to browse the directory.
filename The basename of the directory.
path The absolute path to the directory.
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

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.



$0 per month—let's make that $500!

Learn more