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
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to