I don't know if this is specific to my environment but I need to change the module weight to be lower in order for context reaction theme switch to work.

Comments

artkon’s picture

StatusFileSize
new727 bytes

I had to lower the weight back to 0 because it was too late when it was getting to that point and setting the $custom_theme -> http://old.nabble.com/$custom_theme-when-does-it-take-effect...-when-does-it-not-td18990169.html

artkon’s picture

StatusFileSize
new730 bytes

This is a better patch

artkon’s picture

StatusFileSize
new890 bytes

Previous patch works but only if you have never installed the module, the one attached will work with enabled and installed and keep the current schema version.

drurian’s picture

Please commit this, it's very important.

btopro’s picture

agreed though this now makes the assumption it should overrule other modules. Maybe a settings page where you define how early / late it should fire similar to some node access projects that conflict?

sunshinee’s picture

+1 for a setting. This IS very important, but could cause conflict. Maybe set the default weight to 0 and allow override on the settings page? Or at least add documentation to explain why it matters and how to change it.