Following the method described in [url=http://www.silverstripe.org/archive/show/7715]this post[/url], I have been able to successfully set up tabs in the CMS to attach multiple files/images to a page. How can you then set up a drag n drop functionality to reorder the list of attached files? The way the form fields in the User Forms module can be reordered looks perfect.
I know about the Has-many file manager module. However,
- The module does not install properly in SS 2.3.0-rc2.
- The files/images attached to a page have to be uploaded separately for each page from your computer. I need the files/images to be attached from the existing assets folder/subfolders. And when an attached file is deleted on a page, it remains intact in the Assets folder. The method described in [url=http://www.silverstripe.org/archive/show/7715]this post[/url] achieves this, but not the reordering.
I'm actually working on something right now that will be a perfect solution for this problem. It's called BulkUploaderField and it supports drag-and-drop management and of course bulk uploading. I'd love for you to beta test it for me. I should have something really rough by the end of the week.
If you're just interested in drag-and-drop reordering, you should check out the SortableDataObject extension. You can get it off my website at www.carlinowebdesign.com. Documentation is here in the wiki.
I just had a look at the SortableDataObject extension. How can you use that extension in the CMS and not on the front end? I have a FileAttachment DataObject class and have used ComplexTableField to build the file attachment functionality for all Page types. Your templating requirements makes the extension applicable only on the front end.
Thank you for that. But, the Has many file manager module
1. does not work on SS 2.3.0-rc2 and
2. it does not let you choose files from your existing assets (files have to be uploaded separately for each page and are deleted completely from assets when removed from the page.)
Sit tight.. I'm working on a prototype for a module that does exactly what you're looking for. It's a lot less clunky than the HasManyFileManager. I'd love for you to test it out. Just give me another day or two. Keep checking this thread.