To operate with the latest version of css injector, line 199 of context_contrib.module should be changed to:

drupal_add_css(_css_injector_rule_path($crid), 'module', $css_rule['media'], $css_rule['preprocess']);
Files: 

Comments

Title:CSS Injector reaction broken for css injector 1.4 CSS Injector reaction broken for version 1.4
Status:Active» Needs review

Even though the above is not technically a patch, CNR seems like the appropriate status.

I was having the same problem, but was only able to get if I change 'module' to 'theme' in the above 'patch'.

drupal_add_css(_css_injector_rule_path($crid), 'theme', $css_rule['media'], $css_rule['preprocess']);

Version:6.x-2.0» 6.x-2.x-dev
Assigned:Unassigned» Steven Jones
Status:Needs review» Needs work

Will need to add a function_exists around that I reckon, need to not break backwards compatibility if we can.

Issue tags:+Context-2.1

Adding to context 2.x roadmap

Status:Needs work» Reviewed & tested by the community
StatusFileSize
new877 bytes

Something like this.

StatusFileSize
new920 bytes

Actually we'll add a quick comment too.

Status:Reviewed & tested by the community» Fixed

Status:Fixed» Closed (fixed)
Issue tags:-Context-2.1

Automatically closed -- issue fixed for 2 weeks with no activity.