For those of you having difficulty installing and configuring page_attachments: http://dev.radiantcms.org/radiant/wiki/InstallingP... Mangia! Sean p.s. I would appreciate any contributions to this page if I left something out.
on 2007-06-02 17:42
on 2007-06-04 20:29
Thanks for this. The extension works great and just saved me a lot of work :-)
on 2007-06-04 20:31
David Piehler wrote: > Thanks for this. The extension works great and just saved me a lot of > work :-) > > My pleasure. I wrote it for myself, and I'm glad when it works for others. Sean
on 2007-06-04 20:57
I'm just curious as to what the 0000 directory is for? /page_attachments/0000/0001/atestimg.jpg
on 2007-06-04 21:06
That's part of attachment_fu (which is included in page_attachments). It's a folder namespacing so that you could potentially have millions of uploaded files. Sean
on 2007-06-04 21:23
Like... /0000/9999/ /0001/0001/ /0001/0002/ Gotcha.
on 2007-06-06 21:08
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?
on 2007-06-06 21:21
David Piehler wrote: > 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