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?
Comments
Comment #1
johnalbinThat definitely sounds like a bug.
Comment #2
gausarts commentedHi,
I confirm that it refuses to be aggregated. Thanks
Comment #3
danepowell commentedI don't think a patch is required, but can this be addressed? It's just a matter of changing FALSE to TRUE...
Comment #4
corbacho commentedIt's even simpler. It's a matter of removing "FALSE". The default option is TRUE for that argument.
Comment #5
danepowell commentedComment #6
danepowell commentedThis project (at least the 6.x branch) seems pretty dead. I wonder if we should start the abandoned project process?
Comment #7
j0rd commentedI 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.
Comment #8
johnalbinAgreed. See #1818470: Find a new maintainer
This issue was actually fixed in #606036: Allow aggregation of CSS file in October 2009.