I might have missed something, but how can I force the pages that use the admin themes to also use the overlay?

Thanks

CommentFileSizeAuthor
#3 overlay-admin-theme.png25.49 KBmstrelan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

davyvdb’s picture

Category: feature » support
Status: Active » Fixed

This module handles the administration theme, not the overlay.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mstrelan’s picture

Title: Use of Overlay? » Conflict with Overlay
Status: Closed (fixed) » Active
FileSize
25.49 KB

To me it makes sense for this module to co-operate with overlay. It is not a matter of this module not providing a feature, it is a matter of this module breaking a feature. In the screenshot below notice the space above the admin menu, and the lack of overlay on a page that should appear in the overlay.

mstrelan’s picture

#1169228: Use Drupal's new hook_admin_paths() should solve this issue.

@Mamoun - in the mean time you can implement the hook in your own custom module. For example here is the code I am using.

<?php
/**
 * Implementation of hook_admin_paths().
 */
function gallery_artwork_admin_paths() {
  $paths = array(
    'node/*/artwork/*' => TRUE, 
  );
  return $paths;  
}
?>
junetellain626’s picture

To answer Mamoun's issue, use this module together with overlay paths module. Works like a charm. :)