Keep admin theme while editing user in drupal use this code in hook_init() if (is_admin() && arg(0) == 'user' && arg(2) == 'edit') { global $custom_theme; $custom_theme = variable_get('admin_theme', '0'); init_theme(); }
Post a Comment