Home » Notebook » FileDownload 2.0 » Example 3

Site Menu

Search

0 Comment(s) ⇒

Downloads



FileDownload 2.0

Multiple Directory Example without Grouping

The new version of FileDownload allows for multiple directories to be assigned to the &getFolder parameter. With the &userSort parameter the files from both directories are sorted together. As in this example all fiels are sorted by extension. This uses the default template but could be easily changed to remove the table layout.

Snippet Call

[!FileDownload?getFolder=`assets/files/filedownload,assets/files/ajaxSearch` &imgLocat=`assets/images/filetype` &imgTypes=`fileImages` &includeFileSize=`0` &skipTableCheck=`1` &userSort=`extension`!]

Snippet Output

FilenameFilesizeDate
⇐ Previous Example Next Example ⇒