Closed (duplicate)
Project:
D7 Media
Version:
7.x-1.x-dev
Component:
Media Browser
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 May 2011 at 22:10 UTC
Updated:
17 Nov 2011 at 16:08 UTC
Jump to comment: Most recent file
Comments
Comment #1
dlumberg commentedRerolled patch to include '#delta' for multiple values support in fields.
Comment #2
nedjo@dlumberg: could you please explain why this patch is needed? What problem or issue does it address? What does it make possible that wasn't before?
Comment #3
dlumberg commentedThe media browser didn't get passed any variable or have any record of what field had called it.
It's useful for library plugins so that they can be customized per field instead of globally.
Comment #4
dave reidComment #5
arthurf commented@dlumberg - we might want to consider holding on this until the JS for the modals is worked out on 7.x-2.x
Comment #10
JacobSingh commentedI'm not so keen on this. Ideally, the media browser has no knowledge of what called it. However, I see nothing wrong with passing along that information simply as metadata for other plugins to use.
In that vein, I'm marking this a dupe of implementing ctools plugins which should allow this kind of functionality.
#1139514: Overhaul the media browser code to not use an iframe, and be more understandable, maintainable, and extendable
doesn't describe it well, but there is something in there about ctools plugins.
I made a new issue specifically for it:
#1289872: Use ctools plugins to provide add-ons to the media browser
With ctools plugins, plugin authors will be able to pass whatever information they want more easily.