I just upgraded to 1.0 and everything seems fine with one exception. The admin theme setting I apply on the settings page is not being honored. No matter I what I set the admin theme to, it uses the main theme that the subdomain uses. I switched back to rc4 and the issue went away. Of course I made sure to clear the cache whenever I made the switch.
Any ideas where I should start looking?
Comments
Comment #1
mrichar1 commentedAfter digging around a little bit it seems like this might be related to the recent changes to domain_theme. Beyond that I am a little lost.
Comment #2
agentrickardTry setting the weight of Domain Theme to -5. Look under the 'Theme settings' on Admin > Build > Domains.
Comment #3
agentrickardThe weighting trick should work. But odd behaviors are, IMO, the fault of the Drupal core.
system.module runs this check in
system_menu():Which, in effect, will cancel out any custom admin theme. Changing the weight of the Domain Theme module will let it act after the system module. Note that this code also prevents "use domain default theme" from working properly, as this routine resets the $custom_theme variable.
Comment #4
agentrickard