I tried the simple change to the CivicSpace Theme in template.php, to treat controlpanel as civicspace_is_admin():
Drupal 4.6 diff template*
18c18
< if ((arg(0) == 'admin') && (user_access('access administration pages')) || (arg(0) == 'control_panel') && (user_access('access control panel'))) {
---
> if ((arg(0) == 'admin') && (user_access('access administration pages'))) {
After doing this, the menu and control panel are not placed in the correct positions (see attached image). I don't know if this is a CivicSpace Theme problem or a ControlPanel problem. Any suggestions?
I've tried this change with 4.6 and 4.7 but I am reporting on 4.6 because the CivicSpace Theme is not yet released for 4.7 (although some work has already been done see Civicspace Theme & Drupal 4.7).
| Comment | File | Size | Author |
|---|---|---|---|
| cscp46.png | 89.89 KB | douggreen |
Comments
Comment #1
douggreen commentedHere's a hack:
diff template.php*
Any better ideas?
Comment #2
douggreen commentedThis theme appears to be no longer supported or under development. See http://drupal.org/project/civicspace_theme.