I observed this with Bartik, but I suspect this affects more than just Bartik.
If a color-module-supporting system theme is sub-themed (as per the instructions in http://drupal.org/node/1114190 for Bartik), the subtheme will still ignore any color settings made for the module.
The following patch resolves the issue. Problem is that due to the use of '==' when '!=' should be used, the requested color setting is never applied.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | issue-1145374.patch | 696 bytes | Torenware |
Comments
Comment #1
Torenware commentedAttaching the patch.
Comment #2
Torenware commentedComment #3
Newbieke commentedhow do I install patches on a hosted system. I do not have access to the server?
eg: one.com
Comment #4
tstoecklerComment #5
Torenware commentedI've just confirmed that:
1) This is still a problem in 7.2
2) The patch supplied in #1 still applies cleanly to the 7.x branch with git apply, and it still resolves the issue.
I'm not sure whose attention I need to get here, but it would be nice if somebody would look at this patch :-)
Comment #6
Tor Arne Thune commentedGreat. Let's get some eyes on this. All bug fixes must be committed to 8.x and then backported to 7.x.
Comment #8
dvessel commentedThe description isn't very clear. The sub-theme does not have its own color settings or the color settings from the base theme doesn't affect the sub-theme? The expected behavior is to have an independent color setting for the sub-theme and *not* inherit the custom colors from the base theme.
Comment #9
tommyk commentedsubscribing
Comment #10
Torenware commentedIt appears my bug is invalid. I looked at the failed test result, and discovered the problem:
My sub-theme's .info file references the main color CSS file as css/color.css:
This appears to cause the problem. My patch is only needed because I got the name of the spreadsheet incorrect, which should have been in the .info as
I'm not sure if I copied over one of the "howto" examples over incorrectly, or if the example itself is wrong. If the example is wrong -- I don't remember which URL I got the demo code from -- and someone else sees this problem, they should enter the URL under this issue, so we can get the example fixed as well.
Needless to say, since it isn't broken in 7.2, it shouldn't be fixed in 8.x, since I was wrong here. Score another one for SimpleTest. I'm adding a "stupid user tricks" tag as well :-)