Home » Notebook » FileDownload 2.5 » Example 2

Site Menu

Search



FileDownload 2.0

Multiple Directory Example with Grouping

The new version of FileDownload allows for multiple directories to be assigned to the &getFolder parameter. Along with the &GroupByDirectory parameter set to one this will output a list of files from multiple directories with the same snippet call. Again, this uses the default template but could be easily changed to remove the table layout.

Snippet Call

[!FileDownload? &imgLocat=`assets/images/filetype` &imgTypes=`fileImages` &includeFileSize=`0` &skipTableCheck=`1` &groupByDirectory=`1`!]

Snippet Output

FilenameFilesizeDate
⇐ Previous Example Next Example ⇒