Closed (fixed)
Project:
Drag & Drop Upload
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 May 2014 at 15:59 UTC
Updated:
18 Jan 2016 at 10:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rv0 commentedTo test, enable insert for the field. an insert button should appear in the rows of uploaded images.
Comment #3
webevt commentedHi, rv0!
Really, Insert module is a great module to integrate with. Thank you for your contribution!
Regards
Comment #4
webevt commentedComment #6
amccaugh commentedThe patch works great for the Image field--but unfortunately it still doesn't apply to File fields. Can anyone help with this?
Comment #7
rv0 commentedProbably an easy fix, try adding following code to dragndrop_upload_file.module (without the
<?php ?>tags):Not tested, but I guess it's something like that ;)
Comment #8
amccaugh commentedThank you! It worked perfectly.
For reference, I pasted the code rv0 provided to the bottom of the text file
/sites/all/modules/dragndrop_upload/modules/dragndrop_upload_file/dragndrop_upload_file.module
then I cleared the cache, ran cron, and disabled/reenabled the "Drag & Drop Upload: File field widget" module
Comment #9
rv0 commentedGreat to hear :)
I think clearing the cache is more than enough.
I'm not on my development computer, so someone else will have to roll a patch
Comment #10
rv0 commentedHere's #7 in a patch.
This adds integration with file uploads (previous patch was images only)
The patch also corrects some whitespace issues in the file, my editor does this by default, I suggest the maintainers also configure their editor to do the same ;)
Comment #12
webevt commentedHi
Successfully committed the patch. Thank you for your contribution, rv0!
Regards
Comment #14
rv0 commentedWould be nice to roll a new release :)