The warning message "You need to download the !colorbox and extract the entire contents of the archive into the %path folder of your server." is shown when the module is installed with an installation profile even if the library is already there (but located somewhere else), as with the eRecruiter.

While this is a nice help if users install the module, it is ugly if it appears during the installation of Drupal. As a fix I'd suggest not trying to load colorbox at all during hook_init() if drupal is currently installed. Patch that implements this and so successfully fixes the problem for the eRecruiter is attached.

CommentFileSizeAuthor
colorbox_fix.patch451 bytesfago

Comments

frjo’s picture

Status: Needs review » Fixed

Thanks, already have this for D6 so good to have it fixed in D7 as well.

Committed to 7-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.