ccondrup
An option I would have wanted:
Output files grouped by their parent folder when recursive=yes. No need to link the folders, just visually split the list by subfolder instead of ignoring them. This would let the admin maintain a directory structure which is replicated automatically. I only needed one level of subdirs, but nested ul-lists would work for unlimited levels so I'm putting the request out there. If you want to try to grant my wish, I have a recursive php function for converting an array into nested ul's with css styling, let me know.
Technical rant:
I was a bit annoyed that I couldn't exclude "index.html" (which Joomla puts in all created folders) when using recursive listing, but I quickly found out this is a shortcoming of the JFolder::files method (When writing a recursive function, why not call the same parameters on the recursive calls..?). I solved this for myself, so not asking for a change, I just wanted to rant ;)
I just added in helper.php:99
$file =& $filelist[$i];
$filename = JFile::getName($file);
if(!in_array($filename, $excludefiles)){..file loop..}
Thank you for the thorough feature request.
Both of these have been added to the latest version of the extension.
