Home » Development » FileDownload » Examples » Example 2

Site Menu

Search

Related Links:



FileDownload

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
assets/files/ajaxSearch/1.0
AjaxSearch.inc.php (516 downloads) 7.21 kB 2007-01-29
AjaxSearch.js (394 downloads) 5.73 kB 2007-01-29
AjaxSearch.php (529 downloads) 4.49 kB 2007-01-29
ajaxSearch.zip (401 downloads) 19.94 kB 2007-01-29
ajaxSearch_readme.txt (498 downloads) 5.13 kB 2007-01-29
close.png (292 downloads) 634 B 2007-01-29
index-ajax.php (508 downloads) 1.47 kB 2007-01-29
indicator.black.gif (245 downloads) 1.52 kB 2007-01-29
indicator.white.gif (253 downloads) 1.51 kB 2007-01-29
Search_Highlight_plugin.php (485 downloads) 2.95 kB 2007-01-29
snippet-ajaxSearch-tpl.php (507 downloads) 23.24 kB 2007-01-29
assets/files/filedownload/2.0
about.html (437 downloads) 20.4 kB 2007-01-29
data.db.class.inc.php (459 downloads) 2.99 kB 2007-01-29
download.php (475 downloads) 7.42 kB 2007-01-29
filecount.txt (303 downloads) 15 B 2007-01-29
FileDownload-desc-chunk.txt (305 downloads) 120 B 2007-01-29
FileDownload-image-chunk.txt (329 downloads) 308 B 2007-01-29
FileDownload-tpl.txt (362 downloads) 999 B 2007-01-29
filedownload.class.inc.php (445 downloads) 22.57 kB 2007-01-29
FileDownload2.0.php (460 downloads) 2.07 kB 2007-01-29
filedownload20.zip (259 downloads) 15.52 kB 2007-01-29
⇐ Previous Example Next Example ⇒