I upgraded from colorbox module 7.x-1.5 to 7.x-1.6 and from the colorbox plugin 1.3.19 to the most recent 1.4.14.
Installed also Libraries module 7.x-2.1. Drupal core version = 7.22

Modules (Colorbox and Libraries) placed in the right location (sites/all/modules) and colorbox plugin also placed at the right place (sites/all/libraries).

Though colorbox-load (images) is working normally, my existing colorbox-inline content links don't work anymore. When clicking such a link nothing happens but moving to the top of the webpage. The content (text) is not showing anymore in the expected box.

The "colorbox-inline" option is enabled in admin/media/colorbox.

Browsers are IE 10.0.9200.16540 and FireFox 20.0.1.

Went back to colorbox module 7.x-1.5 and previous colorbox plugin and everything works again.

Notice this issue also happens with Colorbox module 7.x-2.4.

Any help much appreciated.

Best regards

Jacques

Comments

Category:bug» support

If you don't need the old, and bad, form support I recommend the 7.x-2.x branch.

I just tested colorbox-inline with module version 7.x-2.4 and plugin version 1.4.13 and it worked as it should.

I don't need the old form support, so I had tried 7.x-2.4 also, but unfortunately it doesn't work for me either: when I click on the existing inline content links the text is not shown in the expected box. Simply nothing happens. Only the webpage is moving to the top.

However those links worked with the previous version 7.x-1-5.

I read that the new version works for you (the developer), but it does not for me. What could be the reason?

If necessary I will install it again and give you the link to my website, so you can see it doesn't work though the modules are installed at the right place and the inline links are created the right way (because they ARE working with the previous version).

Here is an example of the existing working links with the previous colorbox module version (7.x-1.5): http://www.daproverb.be/en/about
Go to 'Carreer' and click on the links 'accomplished tasks' and/or 'Held duties'.

PS: To be more clear, the inline content is 'inline HTML' (text).

Best regards

Jacques

The old path to the Colorbox plugin was:

[1] /sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js

But in new version that has changed to:

[2] /sites/all/libraries/colorbox/jquery.colorbox-min.js

Please try 7.x-2.4 with the latest version of the plugin and make sure the path to the plugin is like in [2].

Hello

I did what you suggested. Nothing to do: the inline content links don't work anymore.

Here you can test the failing links with the new colorbox module version (7.x-2.4): http://www.daproverb.be/en/about
Go to 'Carreer' and click on the links 'accomplished tasks' and/or 'Held duties'.

You'll see when you click the links nothing happens. The content (text) is not shown anymore in a colorbox popup box.

What to do now?

Best regards

Jacques

OK, I get no answer nor solutions anymore.

In the meantime I've tried everything without success. Images load well in new colorbox, but text (HTML) doesn't all with colorbox inline content.

Because my website can't wait any longer, I will go back right now to the previous version of colorbox (module and plugin) giving me no problems at all.

Not worth the effort to upgrade. I cannot see any benefits staying with the most recent versions, on the contrary :-(

Best regards

Jacques

Status:Active» Closed (cannot reproduce)

Version:7.x-1.6» 7.x-2.4
Status:Closed (cannot reproduce)» Active

I am having this issue as well. While testing it all out in Views, a regular image gallery loads in a Colorbox fine, but inline content does not. I have tried:

- Colorbox 7.x-1.6 and 7.x-2.4 (and subsequently both Libraries 7.x-1.0 and 7.x-2.1 due to incompatibility)
- Colorbox version 1.3 and 1.4.32
- jQuery 1.7 and 1.8 using jQuery Update, neither works

I can confirm that the Colorbox JavaScript is in the correct area in the Libraries folder and that the file is being linked successfully in the source:
.... /sites/all/libraries/colorbox/jquery.colorbox-min.js?muw29l

I do not have any JavaScript errors in the console. There aren't any other scripts being called on this page.

I have created a page with Views and I am trying to load several fields into a Colorbox. First I tried the "Colorbox Trigger" field but this didn't work. Clicking the link did nothing - no new window, no error, just appended # to the URL. I thought maybe it didn't work because the path seemed incorrect - I'm on my localhost and it was prepending the home directory to the path, but not including the Views page URL. So I scrapped that field entirely and tried doing it manually like so:

Field:
Global: Custom text

Text:

<a class="colorbox-inline" href="?width=600px&height=400px&inline=true#beep">Weee</a>
<div id="beep">
[field_photo]
[title]
[field_position]
[body]
</div>

This is outputting correctly as:

<a class="colorbox-inline init-colorbox-inline-processed cboxElement" href="?width=600px&amp;height=400px&amp;inline=true#beep">Weee</a>
<div id="beep">
<img typeof="foaf:Image" src="/sites/default/files/styles/thumbnail/public/photo-team-placeholder2.jpg?itok=Ft937czk" alt="" height="100" width="71">
Bob Smith
Title
<p>Lorem ipsum dolor...
</div>

I can see the #cboxOverlay and #colorbox divs at the bottom of the page. But clicking the "Wee" link does nothing except scroll the browser focus down to that link.

Issue summary:View changes

Added line about same issue with Colorbox version 7.x.-2.4

Same problem here!

I know I'm late to the party, but I found a possible solution.

Open up the colorbox.module file and edit line 84 changing the 5 to a 2 (assuming that is you are using the most recent version of both plugin and module).