This project is not covered by Drupal’s security advisory policy.
Update as of Sep 13, 2012:
I am not actively maintaining this anymore, because this was kind of a hacked together approach for something that is really easy with a simple hook_admin_paths() or hook_admin_paths_alter(). For example:
function hook_admin_paths() {
$paths = array(
'mymodule/*/add' => TRUE,
'mymodule/*/edit' => TRUE,
);
return $paths;
}
Context Overlay creates two context reactions:
- Force overlay: Displays pages the match the context in an overlay dialog
- Customize Overlay Properties: Allows you to set overlay properties including the width, margin-top, and whether to hide the title
By matching these reactions, you can create an elegant UI for your site's visitors. A couple ideas are:
- To easily make the login / registration appear in a properly-sized modal dialog
- Combine with the Contact Importer module to make a nice contact importing experience
- Add to the to a context selecting all webforms to make forms appear in a properly-sized modal dialog
Dependencies
TODO
- Figure out a way to keep a page from appearing in an overlay (for example, force /admin/dashboard to be a normal page).
- Allow the theme to be set (set the overlay theme to administration theme by default?). Currently can be done with themekey. Similar functionality could be provided by context_reaction_theme.
- Look into possible implementations of hook_admin_paths() and hook_admin_paths_alter().
Project information
No further development
No longer developed by its maintainers.- Created by jlyon on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
