I'm using Colorbox & Views to display all images on my website, and I have a couple of problems with this module. For example:

http://mediography.by/artist/john-%2700%27-fleming

1) The module initially works on this page.

2) But if I click "Browse All Images", the module doesn't work anymore on the resulting page.

3) If I click "John '00' Fleming" to go back to the original page, there's a minor possibility that the module will stop working on the initial page that it used to work on.

4) So to get the module working again, I would have to click "Browse All Images" again and go through some of the images. Then if I click "John '00' Fleming" again to go back to the original page, there's a major possibility that the module will magically work again.

I know it sounds strange, but this is the best way I can describe the issues that I'm having after cycling through these two pages a few dozen times. Anyone know what's causing them?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jay.lee.bio’s picture

Issue summary: View changes
jay.lee.bio’s picture

Title: Minor Colorbox View Issue » Colorbox Views Issues
Issue summary: View changes
sokrplare’s picture

Is the module enabled right now? I was trying to take a peek, but don't see it ever on that link or the Browse All Images.

jay.lee.bio’s picture

FileSize
318.22 KB
322.5 KB

Covenantd, ok I figured out exactly how to reproduce the problem:

http://mediography.by/artist/john-%2700%27-fleming

1) The module initially does NOT work on this page.

2) To make it work, I have to click "Browse All Images", then click on any of the images on the resulting page.

3) Then I have to click through at least one of the next images via Colorbox. This is important, as it's what triggers the module to work on the next step.

4) If I click "John '00' Fleming" to go back to the original page, the module will magically work on the initial page that it didn't initially work on.

5) Refresh the page, and we're back to the drawing board. The module does NOT work.

So basically the module doesn't work with Colorbox, but I guess I found a way to use it to trigger this module to make it work temporarily. I'm also guessing that if I didn't have the "Browse All Images" link, the module would've never worked at all.

In summary, this is now a feature request to support Colorbox. Sorry for the confusion.

jay.lee.bio’s picture

Title: Colorbox Views Issues » Colorbox Integration?
Category: Support request » Feature request
sokrplare’s picture

Category: Feature request » Support request

Hmmm...I tried out those steps and I'm still not seeing it ever appearing. Maybe I don't see the same images that you do? The main image I see on that page is the 100 x 100 thumbnail of the artist? If you can send me two things I'd be happy to dig in a little more - would definitely like to resolve any potential conflicts with colorbox.

  1. A screenshot of when the hover button IS working
  2. A screenshot of your pinterest hover settings page (admin/config/services/pinterest-hover)

Also, if you disable the colorbox module (make sure you backup the DB first in case this wipes out any settings) does it start working again?

jay.lee.bio’s picture

Covenantd, let's take care of this problem first: https://www.drupal.org/node/2375687

jay.lee.bio’s picture

Status: Active » Closed (works as designed)

Covenantd, I'm closing this issue as I just figured out how to get this feature working without the use of a module. I'm also marking it as "works as designed", since I think the module will work fine with Colorbox once issue #7 is confirmed and taken care of. Thanks for all your help.

P.S. I had a lot of fun figuring everything out, so I will be writing a blog post in the next few days for the newbies and will promote this module there. I'll update this post when it's done.

jay.lee.bio’s picture

Title: Colorbox Integration? » Minor Views Incompatibility Bug
Version: 7.x-1.0 » 7.x-1.x-dev
Category: Support request » Bug report
Status: Closed (works as designed) » Closed (won't fix)
FileSize
340.08 KB
439.73 KB

Covenantd, here's what happens after testing out the new 7.x-1.x-dev version that was just released earlier today:

1) Colorbox module is enabled:

A) http://mediography.by/artist/john-%2700%27-fleming -> It finally works.
B) http://mediography.by/artist/john-%2700%27-fleming/images -> This is the page that you land on after you click "Browse All Images" at step A. It doesn't work, but it never did before either.

To be clear (especially in regards to #6), the module doesn't work when I hover my mouse over a thumbnail image. It works after I click on it to open the actual image via Colorbox and then hover the mouse over that image. This is actually good since it's supposed to be the intended behavior (although it only works for step A and not step B). The screenshots I attached for #4 applies here too.

2) Colorbox module is disabled:

A) http://mediography.by/artist/john-%2700%27-fleming -> It works.
B) http://mediography.by/artist/john-%2700%27-fleming/images -> It doesn't work.

I have attached two new screenshots for both steps.

In summary, I am now convinced that this is a minor Views incompatibility bug issue, since the behavior is exactly the same whether Colorbox is enabled or not. But since the Views configuration I have on my website is not of a typical use case scenario, I am changing the status to "won't fix".

P.S. I'll leave the module on for a few days until I finish writing my blog post (which will be written in two parts). No worries if you can't figure it out by then, as the method I will ultimately use without using this module does work 100%.

jay.lee.bio’s picture

For anyone interested, here's my blog post on how to show the Pinterest Pin It button when hovering over any image, with or without this module: http://jayl.ee/blog/2014/12/13/how-to-show-the-pinterest-pin-it-button-w...