Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would love to use this module while developing my sites, but cannot due to the fact that I am using the private file system and CSS aggregation is disabled. Is it possible to make this work with private files? It would also solve my problems with the 30 stylesheet limit in IE.
I would like to stay away from the IE Unlimited CSS Loader module if possible (uses @import, I think).
Comment | File | Size | Author |
---|---|---|---|
#4 | ie_css_optimizer-6.x-1.0-547400_1.patch | 1.02 KB | jm.federico |
Comments
Comment #1
arhak CreditAttribution: arhak commentedfor those looking for workarounds for private download support:
according to issue 146611#comment-1182361 at #146611: Allow JS/CSS aggregation in private mode D7 is expected to ship with public/private by file functionality, so creating a new folder for D6 was denied
nevertheless, making a public folder available to support features unavailable for private download method is a very affordable cost
so I'll be maintaining such as a path for D6 at #181003: private download method and dynamically generated CSS and JS
Comment #2
Geekish CreditAttribution: Geekish commentedThanks arhak, your patch works perfectly and now I can finally optimize my CSS and JS properly under the private file system! I have been looking for a way around that problem for quite a while.
As for my original request to the maintainer of the IE CSS Optimizer module, I'm not sure if I should retract it or not. I still think it would be nice to be able to use it for development of sites using private download method. Unfortunately, even though with arhak's patch the option to partially optimize CSS appears valid, it is impossible to select it for use (as I would expect).
I'm going to leave it up to the maintainer to decide whether or not to close this feature request, as I am not a coder and don't know whether the request is feasible or not.
Comment #3
JohnAlbinHmm… so merlinofchaos mentions it might be possible to get this working with private download method.
I'll have to investigate when I have time. (Unless someone wants to write a patch! I love patches!)
Comment #4
jm.federico CreditAttribution: jm.federico commentedIf you apply patch in #572516: make private download method support css/js aggregation, color module and js translations #50, use this patch for compatibility with this module.
Comment #5
arhak CreditAttribution: arhak commented@#4 good jm.federico, you got it
I didn't realize that this module would need a patch too, to be compatible with #572516-50: make private download method support css/js aggregation, color module and js translations
thanks for your contribution
Comment #6
izmeez CreditAttribution: izmeez commentedsubscribing
Comment #7
jm.federico CreditAttribution: jm.federico commentedComment #8
jbm CreditAttribution: jbm commentedhuh, heu sorry but where can i find the patch and how do i apply the patch, im realy sorry but all the link realte to differents things (color stuff etc..)
Comment #9
arhak CreditAttribution: arhak commentedyour answer is precisely at #4
the referenced patch brings private download capability to several features, and patch @#4 takes advantage of it, to make this module work
if you READ (not apply) the patch at #572516-34: make private download method support css/js aggregation, color module and js translations (which is for D6.15) you'll see it is split in 4 chunks
the first chunk ("private download -base- file API") is enough for patch @#4 to work properly,
the other 3 chunks are for "optimize CSS/JS", "JS translation", and "color module" respectively
regretfully the latest patch at that thread isn't split in such chunks, it is rather a whole patch