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.
search_krumo.css should not be added in the .info file. Instead search_krumo.css should be added in add_search_krumo()
and removed in search_krumo_css_alter()
similar to the .js files.
Comment | File | Size | Author |
---|---|---|---|
#5 | search_krumo-conditionally-add-css-2558853-5.patch | 2.02 KB | jacob.embree |
#4 | search_krumo-conditionally-add-css-2558853-4.patch | 2.03 KB | jacob.embree |
Comments
Comment #2
moriartie CreditAttribution: moriartie as a volunteer commentedComment #3
Chris Charlton+1
Comment #4
jacob.embree CreditAttribution: jacob.embree at St. Louis Integration commentedThis patch conditionally adds the CSS, but does it the same way as suggested in #2817217: Conditionally add instead of remove javascript #2.
Comment #5
jacob.embree CreditAttribution: jacob.embree at St. Louis Integration commented#4 depends on some other patches. Here's one against 7.x-1.x.
Comment #6
jacob.embree CreditAttribution: jacob.embree at St. Louis Integration commentedThis fixes #2817217: Conditionally add instead of remove javascript.
Comment #7
pranav45 CreditAttribution: pranav45 at OSSeed Technologies commentedHave checked patch from #5 along with #2817217 issue and its working fine for me.