The current dev version of menu minipanels does not play nicely with the Context module. The content for any mini_panels assigned to output from menu_minipanels_preprocess_page_hidden() does not include any mini_panels that are placed on the page by Context.
Patch to follow.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | support-context-1580072-1.patch | 1.98 KB | codycraven |
Comments
Comment #1
codycraven commentedThe attached patch removes the placement of menu_minipanels_preprocess_page_hidden() before template_preprocess() in page rendering.
The page preprocess is then set as a standard page preprocess without any custom manipulation of the theme registry. To support Panels CSS the closure variable is regenerated within the standard menu_minipanels_preprocess_page().
There may be a less time consuming method of appending panels CSS output (instead of regenerating the entire closure), I just don't have time currently to dig into Panels to see if that's feasible.
Comment #2
damienmckennaThanks for the suggestion, Cody. I've updated the title to be more clear of the benefits of doing it this way and will be testing it out over the next few days.
Comment #3
damienmckennaGood stuff, I've committed it, thanks cody.