Closed (fixed)
Project:
Context
Version:
6.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
30 Apr 2009 at 17:08 UTC
Updated:
11 Aug 2010 at 22:00 UTC
Jump to comment: Most recent file
The context_ui_preprocess_page function is ignoring theme settings with regard to the display of the primary and secondary menus. The attached patch fixes this, although I didn't spend much time figuring out why this function was doing this in the first place, so it may not be the appropriate fix.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | context-449816.patch | 1.36 KB | steven jones |
| #6 | context.449816.patch | 1.79 KB | jhedstrom |
| #5 | context.449816.patch | 1.8 KB | jhedstrom |
| #4 | context.449816.patch | 3.67 KB | jhedstrom |
| context_ui.patch | 1.67 KB | jhedstrom |
Comments
Comment #1
tahiticlic commentedSame problem with the 2.x version.
Body classes I add are ignored, I've checked and the context_preprocess_page function is called normally and modifies correctly the $vars values, but at the end the body classes are set to their intial values...
[Edit] in my case, it was Skinr module which preprocess occured after this one I guess. Solved.[/Edit]
Comment #2
zoo33 commentedBriefly tested and reviewed. Works and seems logical.
Comment #3
tahiticlic commentedIt works if you find the conflict... The use of the preprocess functions introduce such conflicts between modules, which individually does work fine. There's also a conflict with zen theme for instance.
Comment #4
jhedstromHere's a reroll against 2.x
Comment #5
jhedstromSorry, that was a broken patch.
Comment #6
jhedstromStill broken. Sorry for the spam. This one works against 2.x.
Comment #7
steven jones commentedCommitted to 6.x-2.x, thanks!
Comment #9
steven jones commentedThis is an issue in context 3.x
Patch attached.
Comment #10
yhahn commentedComment #11
yhahn commentedComment #12
yhahn commentedThanks. http://drupal.org/cvs?commit=399594