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.
Make Colorbox module use the Libraries API http://drupal.org/project/libraries.
"The common denominator for all Drupal modules/profiles/themes that integrate with external libraries."
Comment | File | Size | Author |
---|---|---|---|
#1 | colorbox_libraries.patch | 2.11 KB | pcambra |
Comments
Comment #1
pcambraHi, following these instructions http://drupal.org/node/735160 I'm attaching a patch for colorbox & libraries API
Also .info file should be modified in order to include dependencies[] = libraries
Comment #2
frjo CreditAttribution: frjo commentedThank you! I will test and commit this as soon as Libraries module has a stable release.
Comment #3
pcambraMaybe you'd want to consider using hook_requirements for the library check as well:
http://api.drupal.org/api/function/hook_requirements/6
Comment #4
frjo CreditAttribution: frjo commentedSee http://drupal.org/node/989590