[Radiant] New wiki page: Installing page_attachments
Sean Cribbs
seancribbs at gmail.com
Wed Jun 6 14:20:02 CDT 2007
David Piehler wrote:
> FYI, page_attachments allows you to upload multiple files of the same
> filename to page(s) in the same page/child scope. While this is not a
> problem when storing the files (because of the nested folder structure),
> it is a problem when trying to access the files. Example:
>
> /0000/0001/myfile.pdf
> /0000/0002/myfile.pdf
>
> <r:attachment:link name="myfile.pdf" />
>
> How does the tag know which file to choose?
>
>
Ah, good point. We need some validations on that. Right now, it's
going to pick the first it finds, which is totally DBMS dependent (MySQL
will auto-order by id).
Sean
More information about the Radiant
mailing list