Sorry, anyone can explain me why is not possible compress codefilter.css file into other CSS?
into code you use:

/**
 * Implementation of hook_init()
 *
 * Adds the codefilter stylesheet to the page
 */
function codefilter_init() {
  drupal_add_css(drupal_get_path('module', 'codefilter') .'/codefilter.css', 'module', 'all', FALSE);
}

i change it into:

/**
 * Implementation of hook_init()
 *
 * Adds the codefilter stylesheet to the page
 */
function codefilter_init() {
  drupal_add_css(drupal_get_path('module', 'codefilter') .'/codefilter.css', 'module', 'all', TRUE);
}

and file is compress, this can cause some problem?

CommentFileSizeAuthor
#7 358881-7-css_aggregation-fix.patch504 bytesj0rd
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JohnAlbin’s picture

Title: Adding CSS witout compression aviabilty » stylesheet does not work with CSS aggregattion
Category: support » bug

That definitely sounds like a bug.

gausarts’s picture

Hi,
I confirm that it refuses to be aggregated. Thanks

Dane Powell’s picture

Title: stylesheet does not work with CSS aggregattion » codefilter.css does not support CSS aggregation
Status: Active » Needs review

I don't think a patch is required, but can this be addressed? It's just a matter of changing FALSE to TRUE...

corbacho’s picture

It's even simpler. It's a matter of removing "FALSE". The default option is TRUE for that argument.

Dane Powell’s picture

Status: Needs review » Reviewed & tested by the community
Dane Powell’s picture

This project (at least the 6.x branch) seems pretty dead. I wonder if we should start the abandoned project process?

j0rd’s picture

I need this issue resolved for Drupal 6. And if by dead you mean 100x the active installs than D7, then yes it's "dead" :)

Anyways, here's a patch.

JohnAlbin’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

Agreed. See #1818470: Find a new maintainer

This issue was actually fixed in #606036: Allow aggregation of CSS file in October 2009.