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

Comments

digibeetle’s picture

Hi, 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 :-)

damienmckenna’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new514 bytes

Thanks. 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.

damienmckenna’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, this has been committed.

digibeetle’s picture

I can confirm RC2 fixes this :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Add api doc link