Hi,
Drupal allows us to specify a theme for admin pages, and whether to use that theme for content editing (see /admin/settings/admin.)
The attached patch allows revisioning to respect the user's setting and display revision edit pages in the admin theme.
Sorry about the globals - I'm not aware of any other way to do this.

CommentFileSizeAuthor
admin-theme.patch597 bytesjames.cartledge

Comments

rdeboer’s picture

Thanks James!
I have included it in the development snapshot.

rdeboer’s picture

Version: 6.x-2.2 » 6.x-2.3
Assigned: Unassigned » rdeboer
Status: Needs review » Fixed

Now available in 6.x-2.3

james.cartledge’s picture

Thanks Rik

Status: Fixed » Closed (fixed)

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

LSU_JBob’s picture

I'm using the slate theme that comes with the admin-6.x-1.0-beta5. My client loves the theme, but it does not use the admin theme when editing revisions of nodes or seeing the list of all revisions of a node.

I'm using Revisioing 6.x-3.11.

Halp!

LSU_JBob’s picture

Happy Day, I figured it out.

If you are using the admin-6.x-1.0-beta5 module still, you must roll a custom module and include this hook_init() in it:

function custom_module_name_init(){
	if(arg(0) == "node" && arg(2) == "revisions"){
		  if(arg(4) != "view"){
			  _admin_init_theme();
		  }
	}
}
rdeboer’s picture

Cool.great you found a solution and that it has nothing to do with Revisioning.