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.
Latest colorbox plugins has the version number on line 2, See patch
diff -ur colorbox/colorbox.module ../custom/colorbox/colorbox.module
--- colorbox/colorbox.module 2013-01-16 19:43:40.000000000 +0700
+++ ../custom/colorbox/colorbox.module 2013-01-16 19:43:11.000000000 +0700
@@ -82,7 +82,7 @@
'version arguments' => array(
'file' => 'colorbox/jquery.colorbox-min.js',
'pattern' => '@ColorBox v([0-9\.a-z]+)@',
- 'lines' => 1,
+ 'lines' => 2,
),
'files' => array(
'js' => array(
Comment | File | Size | Author |
---|---|---|---|
#4 | patch-colorbox-1_3_21-2.patch | 496 bytes | jamesHF |
#1 | patch-colorbox-1_3_21.patch | 407 bytes | geoffreyr |
Comments
Comment #1
geoffreyr CreditAttribution: geoffreyr commentedAttaching patch for use in makefiles.
Comment #2
frjo CreditAttribution: frjo commentedThe directory structure have changed as well so more chages was needed.
I have committed fixes to 7.x-2.x-dev as well as 7.x-1.x-dev.
Please test and report back here if it works for you.
When I have received a couple of positive responses I will make new stable releases.
Comment #3
aendra CreditAttribution: aendra commentedConfirming that the latest dev snapshot fixes the issue on my install. Thanks, frjo!
Comment #4
jamesHF CreditAttribution: jamesHF commentedFor me, I also had to remove the extra 'colorbox/' from the path to make it work. (Working on 7.x-2.0 instead of dev)
Comment #5
jmoruziLatest dev fixed this issue for me as well, thanks frjo!
Contrary to what some other threads are saying, you DO NOT need multiple nested colorbox folders, sites/all/libraries/colorbox/jquery.colorbox-min.js works.
Comment #6
bisonbleu CreditAttribution: bisonbleu commentedNew dev release works for me. Thanks!
Comment #7
frjo CreditAttribution: frjo commentedVersion 7.x-2.1 is out.
Could you please confirm that the fix in 7.x-1.x works as well?
Comment #8
bisonbleu CreditAttribution: bisonbleu commentedI've disabled 7.x-2.x-dev, downloaded & installed 7.x-1.x-dev. Colorbox slideshow doesn't work and I get the following error.
Also tried with 7.x-2.1. Colorbox slideshow works but I get the following error.
Notice : Undefined property: stdClass::$nid in colorbox_handler_field_colorbox->render() (line 189 in /Applications/MAMP/htdocs/zamorg2/sites/all/modules/colorbox/views/colorbox_handler_field_colorbox.inc).
Back to 7.x-2.x-dev. Works. :-)
Comment #9
frjo CreditAttribution: frjo commented@bisonbleu, when reverting from 7.x-2.x back to 7.x-1.x you need to first uninstall 7.x-2.x. Some settings conflict and results in the errors you was seeing.
The "nid" error for colorbox_handler_field_colorbox() has been fixed in 7.x-2.x-dev as you noticed:
#1891780: Undefined property: stdClass::$nid in colorbox_handler_field_colorbox->render()
Comment #10
frjo CreditAttribution: frjo commentedSee #1901124: Colorbox library file structure has changed for 7.x-1.x
Comment #11
bakim CreditAttribution: bakim commentedthe patch work perfectly!~ Thank you very much~
Comment #12
govind.maloo CreditAttribution: govind.maloo commentedThank you for Patch !! Works perfectly.