Colorbox Plugin Help, please!

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Anonymous's picture

Hey guys! I took another look at the Colorbox situation this morning (module and plugin pages) and tried something I found, but it still doesn't work for me. Could someone possibly either send me the plugins they have via zip or give me the location where I can download ALL the plugins I need? I would love a screencap of the file structure within the libraries folder, if it's not too much trouble, so I know what to shoot for. I can't believe it's this hard to set it up!

Thanks in advance!

Sonia Wilkinson

Comments

Sonia is this Drupal 6 or 7?

dalin's picture

Sonia is this Drupal 6 or 7?

--


Dave Hansen-Lange
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his

Sorry....7. While I'm

SoniaWilk's picture

Sorry....7.

While I'm here...does any of the module folders go into the libraries folder? I found this post : http://drupal.org/node/1074474#comment-4904640 but the image they share didn't work either.

S

The libraries folder is along

LittleCoding's picture

The libraries folder is along side the modules and themes folders:

/sites/all/libraries/

for an example if you where adding the CK Editor you put their library file in:

/sites/all/libraries/ckeditor/

hope that moves you at least step closer!

Thanks for the responses so

SoniaWilk's picture

Thanks for the responses so far! I should explain more what I've done so far...telepathy is just not what it used to be.

I've installed the colorbox module into sites/all/modules (screen attached)
I've downloaded the colorbox plugin into sites/all/libraries (screen attached)

what I've done so far....

SoniaWilk's picture

Thanks for the responses so far! I should explain more what I've done so far...telepathy isn't working today. Hope it's okay to give links below as I don't see a way to attach to this message. I'm including permissions in the screencaps as that seems to be an issue in the forum discussions I've found.

I've installed the colorbox module into sites/all/modules (http://digles.com/modules-folder.png. the directory structure is on the left, folder contents on right). I can create a view using colorbox settings, however when I test the images I created they don't open in a library-style screen, as I expected, they simply open the image in a new page with no previous or next buttons or whatever.

I've downloaded the colorbox plugin into sites/all/libraries (http://digles.com/libraries-folder.png). When I go to Status Report it still says I need to download the plugin.

I have NOT used Drush to install anything. I haven't needed to use Drush yet, and when I looked at installing it - well let's say it seemed like a ridiculously huge thing to install for such a relatively small feature I'm wanting to use.

Hope this helps clarify my issue a bit better. :)

Again, thanks for all the help!!

S

Hi Sonia

PierreMarcel's picture

If you just downloaded colorbox pluggin and put it on your libraries it won't work. You have to change the file structure too. Here is what you have to do:

Iniside "libraries/colorbox/" create a folder called colorbox like this "libraires/colorbox/colorbox/" then move both .js files " jquery.colorbox-min.js and jquery.colorbox.js" inside of the second colorbox folder. Refresh and done it should work.

Colorbox drupal module has changes the path but the actual pluggin hasn't it, so it's looking for the .js files in a wrong folder.

Hope this helps.

ps: Sorry to have missed you guys yesterday. It's been crazy busy here for me.

Pierre

What are the current

LittleCoding's picture

What are the current permission settings on the two colorbox folders?

Pierre, I've moved those

SoniaWilk's picture

Pierre, I've moved those files so the structure is as you mentioned and still no go.

The permission on all the folders is 755 and the files are 644.

I've installed the very latest version of colorbox 7.x-2.1, which was updated today, and the colorbox plugin is version 1.3.21.1, which is the latest. Cleared caches, ran cron.

The message I still get in status report is "Colorbox plugin - At least 1.3.21.1 You need to download the Colorbox plugin, extract the archive and place the colorbox directory in the sites/all/libraries directory on your server."

Someone (Sorry, I'm terrible with names!!) mentioned there was a second "set" of JS I need to download???

I was talking about the

LittleCoding's picture

I was talking about the second set of JS and the one I was thinking of is already in your libraries folder.

I have just done the install of this model on one of my test project.

Drupal 7.17 core
colorbox 7.x-2.1 module
libraries 7.x-2.0 module
colorbox plugin (javascript library) 1.3.21

both modules are installed in: /sites/all/modules/
and JS is installed in: /sites/all/libraries/

activated first the Libraries module as it is required by the colorbox module. then activated the the colorbox module.

I did not need to place the JS plugin in a folder named colorbox. Just place the unzipped folder in the library folder. so it get to the file jquery.colorbox-min.js the path is: /sites/all/libraries/colorbox/jquery.colorbox-min.js

I don't have any messages in my error report with this configuration.

I have both running too

PierreMarcel's picture

I jut checked it, and I have several sites running both versions of colorbox 7.1-x and 7.2-x and the sites I have running 7.1-x I had to add the extra colorbox/ so it would work... but the 7.2-x I can just run it from the download. I never had these issue, it always worked... well just the colorbox 7.1-x I had to change folders but they all worked.

I'm not sure what's going on there Sonia, I think it would require to have a look on your site a bit deeper, going from permissions, if the .js are loading, are you suing js aggregation, other modules conflicts, etc...

Post your site here if you have it online, I'm sure one us will figure something...

Pierre

Great stuff. I'm being a mom

SoniaWilk's picture

Great stuff. I'm being a mom right now but will give LittleCoding's excellent description a shot in the morning. Crossing fingers!

So, I started this morning on

SoniaWilk's picture

So, I started this morning on another site that's at a different host - I installed the module & plugin as LittleCoding described...with fresh downloads. Installed beautifully out-of-the-box. I go back to my project site, uninstalled the module, deleted all old files/folders to do with colorbox, etc, cleared cache. Started from square 1...installed using the exact same files as mentioned above, and still no go. These sites are relatively similar to each other - drupal 7.18, and other modules, as I essentially copied my current project from the other one to build on.

The current project that is not working is http://d1.digles.com (subdomain - could that be it?). I tried searching on conflicts for the plugin, but didn't get anywhere...with the brain I have at the moment. I'll try again when I'm more awake. Should I proceed with opening an issue cue at colorbox? The module is fine, I think. It's just the plugin that's not being recognized. Would a module conflict with that? PHP version? Database version? Those were different between the two servers, which is why I ask that.

ugh.

Update...now working

SoniaWilk's picture

Hey! I had a chance this afternoon to continue on my hunt for the issue. I ended up starting with a fresh install of Drupal in another subdirectory/subdomain on the same server as the other, installing the library module and colorbox module/plugin first before anything else. It worked from the get-go. I went through systematically turning on modules and installing Omega, etc. I now have it almost to where I had the other subdomain and the status is still showing the colorbox plugin is good. (shrug) Maybe it didn't like the colour of the sun.

If I run into any other issues I'll let you know. For now, let's put it down to gremlins! I say again...ugh!

Thanks AGAIN for the help, guys! You set me on the right track so I at least knew how to set up the files. The information on the forums was really confusing.

S

Set it up first !!

bobo974's picture

Yeah !
Thank you very much Soniawilk and others !
After searching a issue for this problem (colorbox pluggin not found) for more than one week, I took one day for unactivate all other modules, and activate ColorBox first, then others and ... boom! it work fine !
Superfish module seems to have conflict with ColorBox...

Sorry for my english, and thank you again!
(From poor Reunion Island guy)

This is some nice material.

karophi's picture

This is some nice material. It took me a while to unearth this web page but it was worth the time. I was really looking for some Colorbox Plugin tutorial.

GFA web solutions is here for your complete online solution

Exact Same Problem

paulkerrigan's picture

I am having the exact same problem!

I'm using Drupal 7.

Is disabling all other modules the only possible solution?

ColorBox module is installed to /sites/all/modules.
ColorBox plugin is installed to the /sites/all/libraries folder.

The module does not complain - it recognizes that the plugin has been properly installed, but whenever I click on an image, instead of loading it in a light box, it just loads another window with the image in.

I can't switch to another module. Please help me out in any way you can - I've been on all day with this. Thanks a lot. :-)

Hey Paul

PierreMarcel's picture

How are you using colorbox? Are you adding it to an inline image or to a image field? Or is it in views?