Closed (duplicate)
Project:
Zen
Version:
6.x-1.0-beta3
Component:
IE Problems
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2009 at 13:23 UTC
Updated:
5 Nov 2009 at 13:19 UTC
Hi there,
I stepped into this, and would ask you how you solve the problem? I use D6.9 and private download.
How can I merge ccs files, to reduce the number of ccs files?
Cheers Kai
Comments
Comment #1
kmontyGo to admin/settings/performance and enable "Optimize CSS files"
Comment #2
Apfel007 commentedhi,
I don't no why, but now it works..
"Optimize CSS files.. this won't work with private downloads.. right?
Comment #3
damienmckennaPlease try the hook_preprocess_page() code from http://drupal.org/node/228818#comment-1473586, I've used it in Zen v6.x-2.x-dev to great effect.
Comment #4
damienmckennaThis is the same issue as #256802: IE limits Drupal to 31 stylesheets total.
Comment #5
johnalbinApfel007, don't use the code pointed to in comment #3; its buggy.
Instead try this module: http://drupal.org/project/ie_css_optimizer
Comment #6
damienmckennaJohn: With all due respect, that module is going to pose more problems than the simple code snippet, which has proven reliable in my tests.
Comment #7
johnalbinI have tested the code snippet. Its extremely buggy in that it doesn't deal with overriding and removing module or base theme stylesheets. If you copy a stylesheet from Zen and put it in your sub-theme using that snippet, both stylesheets will be included on the page instead of just the sub-theme's version of the stylesheet. ick. I should have mentioned that in my previous comment. Sorry about that. :-)
And I don't see how the IE CSS Optimizer module is going to "pose problems". If there are issues, please post them to http://drupal.org/project/issues/ie_css_optimizer
Comment #8
Apfel007 commented@ JohnAlbin It seems that this module don't work for private files? Right?
Comment #9
johnalbinApfel007, yes, that's correct. CSS aggregation doesn't work with private files. :-( And the ie_css_optimizer module just modifies core's CSS aggregation functionality.