Closed (won't fix)
Project:
Revisioning
Version:
6.x-3.11
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2010 at 16:11 UTC
Updated:
18 Dec 2011 at 02:13 UTC
Due to the function found ~line 799 in revisioning.module
** * Callback for the primary Edit tab. */ function _revisioning_edit($node) { if (variable_get('node_admin_theme', FALSE)) {
When using the admin module's "Use Administrative Theme" Permission users without the permission are given the administrative theme.
Since theme selection happens so deeply in the stack, I think this needs to be moved to hook_init and take into consideration the known conflict.
I'm trying to find a decent solution without hacking the module.
Hacking the module with this:
** * Callback for the primary Edit tab. */ function _revisioning_edit($node) { //Dirty hack to prevent users from getting admin theme with // admin module //if (variable_get('node_admin_theme', FALSE)) { if (variable_get('node_admin_theme', FALSE) && user_access('use admin theme')) {
Comments
Comment #1
rdeboerThanks bonked. I feel the hack is unobtrusive. Will include in next release.
Comment #2
rdeboerOops! I don't think this ever got in. Sorry.
I'm not sure whether this issue is still current, and what the status of of the admin module is.
Please re-open with details, if still an issue.