Closed (fixed)
Project:
Context
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2011 at 09:07 UTC
Updated:
3 Jun 2012 at 03:21 UTC
I would like to add a CSS file based on context.
sounds like what the css injector reaction would do; but een though there is code here - it doesn't seem to show up for D7 version.
Comments
Comment #1
TimelessDomain commentedit does show up now, but it doesn't work #1132846: Context Module Error - Notice: Undefined offset: 0 in _css_injector_load_rule() (line 163
Comment #2
wbobeirne commentedI wrote a patch for css injector a month ago that makes it work. http://drupal.org/node/1132842
EDIT: Upon further inspection of the issue linked above, I realize my patch fixes the same thing that the original poster fixes, but then runs in to a new issue. I can't run in to the issue he does, though.
Comment #3
chaseonthewebIs this any different than the functionality that context_addassets provides? http://drupal.org/project/context_addassets
Comment #4
tekante commentedThis should now be fixed with the commit for issue #1132842: fatal error in plugin context_reaction_css_injector.inc, note that you'll need the css_injector module installed and may need to clear cache after doing so to have the plugin show up.