Closed (duplicate)
Project:
Insert
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2011 at 01:23 UTC
Updated:
7 Sep 2012 at 04:56 UTC
Jump to comment: Most recent
Comments
Comment #1
gagarine commentedtracking
Comment #2
bmx269 commentedsub
Comment #3
quicksketchThis probably isn't going to happen. Especially since Media module plans on switching back to use normal File Fields anyway (thus making it work with Insert), pursuing this would be a dead-end. See #1201936: Move the media field to a non-required submodule.
Comment #4
adamdicarlo commentedRe-opening this because even though it should work, something's preventing it.
I'm using a File field with a "Media file selector" widget (using Media 2.x), and no Insert interface elements appear on the field edit form, nor on the edit form of the entity with the field.
(I get the Insert fieldset on a core image field's field edit form just fine.)
Comment #5
Anonymous (not verified) commentedI was able to get the Insert fieldset to show on the Image field edit form by adding an entry for 'media_generic' to the widget array in includes/image.inc, but could not figure out how to get it to show on the node edit form.
Even after removing 'image_image' just to try to figure out where this module gets its jQuery Drupal.settings from, 'image_image' was the only one that would show up for 'insert'.
Comment #6
adamdicarlo commentedChanging issue title to better reflect what needs to be done.
Comment #7
rwilson0429 commentedsub
Comment #8
adamdicarlo commented@rwilson0429 don't post a comment to subscribe to issues anymore. Click the "Follow" button on the right side up by the issue summary.
Comment #9
jenlamptonThere's a patch to media module to make insert with the Media widgets:
http://drupal.org/node/1140404#comment-5454964
Comment #10
quicksketchLet's reconvene in #1140404: Add insert module integration.