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.
My site sometimes unable to load libraries javascript colorbox
ex:
libraries\colorbox\jquery.colorbox-min.js and many *.js of colorbox module
So there is no effect for my images. When i "CLEAR ALL CACHE", my site can load *.js of colorbox module. What's happen ?
Plz help me!
Comments
Comment #1
frjo CreditAttribution: frjo commentedWhen you unpack the Colorbox plugin you need to place the whole directory in sites/all/libraries.
The path to the plugin then becomes "sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js"
Comment #2
hunglxh CreditAttribution: hunglxh commentedI unpacked the Colorbox plugin to directory in sites/all/libraries but my site also have a problem with colorbox.
My way to solve this problem, i add path of *.js and css of colorbox to templates/html.tpl.php. I don't like to do this!
Comment #3
frjo CreditAttribution: frjo commentedPlease double check that the patch is "sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js".
Comment #4
lsolesen CreditAttribution: lsolesen commentedProbably related to #1569048: Colorbox jQuery plugin repo no longer provide jquery.colorbox-min.js
Comment #5
lsolesen CreditAttribution: lsolesen commentedComment #6.0
(not verified) CreditAttribution: commentedEdit content