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']);
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mcrittenden’s picture

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.

hoZt’s picture

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']);

Steven Jones’s picture

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.

Steven Jones’s picture

Issue tags: +Context-2.1

Adding to context 2.x roadmap

Steven Jones’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
877 bytes

Something like this.

Steven Jones’s picture

FileSize
920 bytes

Actually we'll add a quick comment too.

Steven Jones’s picture

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.