pezdude
1
Hi,
I’m having a problem with the FileListBehavior not using the path
attribute specified, only the radiant/public directory…
I have a child of the homepage, ‘Images’, with the following body part:
–8< –
Here is a list of files in this directory:
<r:files:each path=“/home/ukktug/radiant/public/images/” glob=“*”>
- “<r:name />”:<r:uri />
</r:files:each>
–8< –
Filter is textile, behaviour is set. The URL is
http://uk.tug.org/images/
–
Regards,
Dave
pezdude
2
Sorry about that…my fault entirely. I forgot to update the readme
when I changed the way the attributes worked.
I realized that there was actually no need for the ‘path’ attribute
at all, so it’s all done in the ‘glob’ attribute now, like this:
<r:files:each glob=“/home/ukktug/radiant/public/images/*”>
- “<r:name />”:<r:uri />
</r:files:each>
Also regarding FileListBehavior, I have an SVN repository up:
http://svn.jmacaulay.net/radiant-extensions/file_list_behavior/
…which is now the URL which the behavior’s wiki listing points to.
Thanks for the heads up, Dave.
James
pezdude
3
On 12/09/06, James MacAulay [email protected] wrote:
Sorry about that…my fault entirely. I forgot to update the readme
when I changed the way the attributes worked.
Haha okay cool 
Works perfectly - thank you! 
–
Regards,
Dave