Closed (fixed)
Project:
Multiupload Filefield Widget
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2012 at 12:11 UTC
Updated:
13 Mar 2023 at 05:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ttkaminski commentedI agree that it should be possible to use FileField Sources and Multiupload Filefield together. This would be the ULTIMATE solution! I'm not sure if FileField Sources or this module (or maybe both??) needs to be patched to make this happen.
Comment #2
czigor commentedMade #1412636: Add support for Filefield sources module the duplicate of this. There are some useful infos over there though.
Comment #3
milos.kroulik commentedComment #4
chaseonthewebPatch attached. I did only a cursory check, which appeared to work:
This probably needs more thorough testing. Filefield_sources completely replaces the #process, #pre_render, etc. callbacks from managed_file whereas I had to append to them to make things work properly.
Comment #5
8bitplateau commentedhmmm sort of works, but I find there is no settings visible to set file field sources any more, guess that mod needs a patch too ?
Comment #6
Dandily commentedThank you! Patch work fine for me.
Comment #7
fietserwinPatch #4 works fine. I tested it with images, thus including the patch in the child issue (see below):
- Edit node.
- Adding images via several ways (multi-upload, imce, autocomplete).
- Inserting some into the body field (using insert module that links to colorbox).
- Deleting some images.
- Saving node.
- Images are there, links to Colorbox work as expected.
- Editing node.
- deleting images.
- Saving node.
- Images are removed.
I reopened #1412636: Add support for Filefield sources module and added a patch there that implements hook_filefield_sources_widgets to add the image widget. That patch depends on this patch.
Comment #8
Abelito commentedThanks for the Patch in #4. It is works just fine.
Comment #9
Anonymous (not verified) commentedI cannot see this working. I've patched both MFW and MIW modules, and while MIW shows Filefield Sources options on the field edit form, MFW doesn't... Am I missing something?
Comment #10
Anonymous (not verified) commentedOops, my apologies. I must have stuffed up the patching, as I re-applied it and it now seems to be working. All good!
Comment #11
czigor commentedI'm not feeling comfortable with adding these #process etc callbacks I don't know. Some more feedback would be nice. Has anyone been using this for a longer time in production?
Comment #12
fietserwinSince January 2016 ... no problems at all.
Comment #13
Abelito commentedSince March 2016 on my production sites with no problems.
Comment #15
vladimirausThanks all for your input. Committed! 🍻
Comment #16
vladimiraus