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(
Members fund testing for the Drupal project. Drupal Association Learn more


geoffreyr’s picture

407 bytes

Attaching patch for use in makefiles.

frjo’s picture

Version: 7.x-2.0 » 7.x-2.x-dev
Assigned: Unassigned » frjo

The 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.

aendrew’s picture

Confirming that the latest dev snapshot fixes the issue on my install. Thanks, frjo!

jamesHF’s picture

496 bytes

For 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)

jmoruzi’s picture

Latest 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.

bisonbleu’s picture

New dev release works for me. Thanks!

frjo’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev

Version 7.x-2.1 is out.

Could you please confirm that the fix in 7.x-1.x works as well?

bisonbleu’s picture

I'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.

Notice : Undefined index: minified in colorbox_get_js() (line 304 in /Applications/MAMP/htdocs/zamorg2/sites/all/modules/colorbox/colorbox.module).

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/

Back to 7.x-2.x-dev. Works. :-)

frjo’s picture

@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()

frjo’s picture

Status: Active » Closed (fixed)
bakim’s picture

the patch work perfectly!~ Thank you very much~

govind.maloo’s picture

Issue summary: View changes

Thank you for Patch !! Works perfectly.