Closed (fixed)
Project:
Colorbox
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2011 at 15:42 UTC
Updated:
17 May 2011 at 20:02 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| colorbox_fix.patch | 451 bytes | fago |
Comments
Comment #1
frjo commentedThanks, already have this for D6 so good to have it fixed in D7 as well.
Committed to 7-dev.