To change drupal's user edit page's theme from the default admin theme (Seven) to other theme (default theme or theme configured in themekey)

Use hook_admin_paths_alter

function MY_MODULE_admin_paths_alter(&$paths) {

    // Treat all user pages as not administrative.
    $paths['user/*'] = FALSE;
// or you can just do it for user/%/edit
}

Comments

comments

Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>