This could very easily (and most likely is) my own fault. I'm trying to migrate a D6 theme to D7. The part I'm fighting with now is the theme settings page. When I try to go to /admin/appearance/settings/theme_name I get "Access denied" from Drupal.
I have a theme-settings.php file which mimics garland and setting['key'] = val pieces in my theme.info file.
I've been fighting all day to figure out why I'm getting this issue when I try to access theme settings. I assume it's either a bug or my screw up but no idea which at this point.
Thanks for the help.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screenshot-3.png | 125.4 KB | MTecknology |
Comments
Comment #1
MTecknology commentedI also just noticed that when I go to '/admin/appearance/settings' there's no tab for settings for my theme. The defaults I set in theme.info work perfect though.
It also seems that the exact same issue is being noticed with my block layout.
Comment #2
dave reidBasic questions:
- Does your user account have the 'administer themes' permission?
- Is the theme actually 'enabled' on the /admin/appearance page?
Comment #3
MTecknology commentedYa, the theme is enabled. I'm attaching a screenshot of what I see. I also made sure the user has that permission.
Comment #4
MTecknology commentedI take it no one intends to deal with this...
Comment #5
heine commentedIt's still a bug even if nobody knows (yet) how to repro.
Comment #6
jojo__ commentedI had this problem too and I also was not able to reproduce.
My solution was:
1) Select an other theme as default
2) Settings on my theme worked now
3) Select my theme as default again
4) Settings works without access denied
Comment #7
HonoredMule commentedI'm having the exact same problem. A role is assigned the "administer themes" role (as well as all others) and can enable, disable, and set default themes, but not view/edit theme settings. I've tried disabling and re-enabling themes, changing the default, etc., all to no avail.
Incidentally, Bartik is my default theme, yet it was not recognized as "enabled." Again, however, rectifying this had no effect on the non-ability to view/edit settings for any enabled theme.