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.
This is a conflicting behaviour between Admin Menu and IMCE modules, but IMO the simplest fix is to use Admin Menu's suppression in IMCE's imce_page() request.
Admin Menu (6.x-3.x-dev) will place the admin menu at the top of the IMCE popup, somewhat obscuring IMCE's buttons there. See attached image below for illustration.
Admin menu offers a method other modules may call to suppress the appearance of its menu on specific pages:
module_invoke('admin_menu', 'suppress');
Attached is a patch for IMCE-6.x-1.2 which invokes this at the start of imce_page().
Comment | File | Size | Author |
---|---|---|---|
imce-suppress_admin_menu.1.patch | 359 bytes | xurizaemon | |
Picture 3.png | 138.5 KB | xurizaemon |
Comments
Comment #1
ufku CreditAttribution: ufku commentedi think this should be optional because I sometimes use IMCE directly on /?q=imce and admin menu seems to be cool there.
Comment #2
ufku CreditAttribution: ufku commentedThis has been committed. Thanks.