I want to list all files in a directory Using PyroCMS.
Using the Files module each client has their own folder, the folder is their User ID
\files\clients\{ID}\
I need something like this.
{{ foreach file in { files:/clients/{{ user:id }} } }}
<a href="{{files:current_file_name_and_ext}}">{{files:current_file_name}}</a>
{{ endif }}