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>
</tr>

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.

Backers

  • modmore
  • STERC
  • Jens Wittmann – Gestaltung & Entwicklung
  • Digital Penguin
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • eydolan
  • Following Sea
  • Anton Tarasov
  • Murray Wood
  • Lefthandmedia
  • Raffy
  • Stéphane Jäggi
  • Snow Creative
  • Nick Clark
  • Helen
  • JT Skaggs
  • A. Moreno
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

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

Learn more