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.
By MarioBrus on
Hi,
In admin mode I am trying to see the user/*/edit page in the same way a normal user does see it, in normal content instead of overlay mode.
I tried this in template.php:
/**
* Implements hook_admin_paths_alter().
*/
function mytemplate_admin_paths_alter(&$paths) {
$paths['user/*/edit'] = FALSE;
}
but no results.
Any help is appreciated.
Comments
Check the url, it should be
Check the url, it should be something like http://example.com/#overlay=user/1/edit, change it to http://example.com/user/1/edit. Should display the page normally w/o any overlay.