It sends each upload as a separate request, so write the controller code as if you're receiving one file (like the media plugin examples) and you should be good. This method is preferred, because when javascript is disabled the logic in the controller doesn't need to change will still work (i.e., old school single upload).
1: https://github.com/valums/file-uploader (doesn't seem to be maintained by the author but there are numerous forks)
On Monday, April 30, 2012 8:09:33 PM UTC-7, double07 wrote:
Hi Jeremy,
Not having much luck with the saving manually option, do you having
any working examples of drag and drop (jquery) I can look at?
Thanks,
-Brett
On Apr 17, 7:44 am, jeremyharris <funeralm...@gmail.com> wrote:
>
> Or, instead of using the multiple option, you can try processing them each
> as a single request so you don't have to change anything in your controller
> but rather just how the view presents it. I've used drag and drop jQuery
> plugins and the like to help with this. It's by far my favorite solution,
> because it doesn't rely on browser specific features (such as HTML5
> multiple upload).
>
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment