As per the title, when CSS aggregation is on, menu_minipanels all display in page footer.
This is because the module is using D6 syntax for drupal_add_css, instead of D7
// Load the module's custom CSS.
drupal_add_css($path . '/css/menu_minipanels.css', 'module', 'all', TRUE);
vs just
// Load the module's custom CSS.
drupal_add_css($path . '/css/menu_minipanels.css');
See: http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_ad...
The attached patch fixes the issue and allows CSS aggregation.
Thanks again for the useful module,
DT
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | menu_minipanels-n1258150-d6.patch | 514 bytes | damienmckenna |
| menu_minipanels.fix-css-aggregation.patch | 710 bytes | davidwhthomas |
Comments
Comment #1
digibeetle commentedHi, just wanted to say thanks because your solution indeed fixes this nasty problem!!!
I am building a site and am almost done, so i switched on aggegration and... what a nasty sight :-( However searching the issue queue quickly gave me this solution :-)
Comment #2
damienmckennaThanks. I'm going to change the same line for D6 too (see patch) as there's no point in specifying the additional arguments when they are only passing in the normal defaults anyway.
Comment #3
damienmckennaThanks, this has been committed.
Comment #4
digibeetle commentedI can confirm RC2 fixes this :-)
Comment #5.0
(not verified) commentedAdd api doc link