Multiple file uploads, based on the BlueImp jQuery uploader. Makes it very easy to attach one or more files to whatever you're editing. It's also easy to present that list again on a later edit so that existing files can be managed side by side with existing attachments.
157
stars
86
forks
source link
How to use this bundle with Sonata media bundle #59
Add action was simple. I use a temporary path of this bundle, and next, I'm using forach loop (for existing files) and adding it as Media in specific context.
But how to make an edit action? Sonata Media Bundle has own target dir variable. So how to setup symfony2-file-uploader-bundle to use own temporary path and this one, defined by sonata-media-bundle.
What is the best/fastest way to get to work this two awesome bundles?
Add action was simple. I use a temporary path of this bundle, and next, I'm using forach loop (for existing files) and adding it as Media in specific context. But how to make an edit action? Sonata Media Bundle has own target dir variable. So how to setup symfony2-file-uploader-bundle to use own temporary path and this one, defined by sonata-media-bundle. What is the best/fastest way to get to work this two awesome bundles?