Before I added sections I had ticked off the "use admin theme for content editing" checkbox under Settings > Administrative Theme. After adding Sections Module, now the admin theme is selected as a section named "admin". I do not see any equivalent setting under the Admin Section. Now I realize I can create the same result by adding the paths for node add/edit to that section, however, RootCandy Administrative theme will only show the "Create Content" icon if that setting exists. So because that setting no longer exists, I cannot see any "Create Content" item.

Maybe this is a RootCandy issue, but maybe not... I would imagine it might affect other admin themes/module who expect that "use admin theme for content editing" to be available or set.

Any ideas?

Comments

hass’s picture

Hmmm never expected this... You can set the value in your settings.php. Not really good, but it should work. I guess there may be themes that also check if admin theme is configured, but i cannot solve this.

goldhat’s picture

Category: support » feature

I'm changing this to a feature request - if sections is going to over-ride theme administration it should duplicate the settings option "use administrative theme for content editing" which would be fairly easy to do. When you active Sections it automatically creates an "Admin" section right? So just have a checkbox inside an admin settings form that only shows for that section edit, something like "if editing /admin section then show option to set theme for content editing".

hass’s picture

If the checkbox setting causes compatibility issues and break sections this is not possible.

hass’s picture

Title: Admin theme setting - use for content editing » "Create Content" link is incompatible with theme switching modules
Project: Sections » RootCandy
Version: 6.x-1.3 » 6.x-1.x-dev
Component: Miscellaneous » Code

RootCandy should add the link based on the current active theme and not based on the admin checkbox. This can be done very easily with global $theme and/or a path match what may be the best solution as theme names may also not the best idea here. Using the admin checkbox is not really reliable as there are also other modules like sections, too.

VM’s picture

Status: Active » Needs review

marking needs review based on #4