Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, I've got a slightly unusual goal for what I'd like to achieve, was wondering if anyone has used Media in this way.
First, I'd like to have a user click a link which opens the media browser, selects an image, sets this image as the value for a field on the user object and then closes.
Second is to have the media browser open in a ctools modal as opposed to a jQuery UI dialog. I figure that it's either style over it (horrible) or define a new widget which would largely be a copy of the media browser but with different markup and JS.
Any help would be greatly appreciated!
Comments
Comment #1
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team