Closed (fixed)
Project:
Advanced CSS/JS Aggregation
Version:
7.x-2.x-dev
Component:
General CSS/JS
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 May 2016 at 14:01 UTC
Updated:
2 Jun 2016 at 21:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joaogarin commentedHere goes a little patch for this. Would be great to get some feedback on it;) Definitely need some way of doing this.
Comment #4
mikeytown2 commentedWhat about something that uses hooks instead of the UI. I've committed the attached patch. Example of it in action. This is essentially what you need; disable loadCSS if an unaccounted for css file is there.
Comment #5
joaogarin commentedThat also looks like a really good solution! ;)
Comment #6
joaogarin commentedI am going to try it out but it actually sounds like an even better option. maybe both are actually useful for some edge cases but either one will work for my case at least.
Sounds very good.
Comment #7
joaogarin commentedI am trying the patch but the $css parameter is empty in my alter hook.
Comment #9
mikeytown2 commentedLooks like an issue with the static cache; this should handle that situation.
Comment #10
mikeytown2 commentedIs this good enough for you or does something else need to be done?
Comment #11
joaogarin commentedFrom what i see this is already in the 7.x version? I just tested works nicely;) thanks!!
Comment #12
mikeytown2 commentedGoing to mark this as fixed