This is an auto-generated topic for <a href="
http://modxcms.com/extras/package/615">IfEmpty 0.1-rc1</a> by bbusenius.
Brief Description:
This snippet looks in a folder to see if there are any files. If the folder is empty it returns a message from a custom chunk. This was written to work alongside the FileDownload snippet, however, it will work just fine by itself. This snippet takes two required parameters: &path (path to file) and &message (chunk name).