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.
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']);
Comment | File | Size | Author |
---|---|---|---|
#6 | context-836264.patch | 920 bytes | Steven Jones |
#5 | context-836264.patch | 877 bytes | Steven Jones |
Comments
Comment #1
mcrittenden CreditAttribution: mcrittenden commentedEven though the above is not technically a patch, CNR seems like the appropriate status.
Comment #2
hoZt CreditAttribution: hoZt commentedI 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']);
Comment #3
Steven Jones CreditAttribution: Steven Jones commentedWill need to add a function_exists around that I reckon, need to not break backwards compatibility if we can.
Comment #4
Steven Jones CreditAttribution: Steven Jones commentedAdding to context 2.x roadmap
Comment #5
Steven Jones CreditAttribution: Steven Jones commentedSomething like this.
Comment #6
Steven Jones CreditAttribution: Steven Jones commentedActually we'll add a quick comment too.
Comment #7
Steven Jones CreditAttribution: Steven Jones commentedAdded to 2.x in http://drupal.org/cvs?commit=468856