Closed (fixed)
Project:
Colorbox
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Jan 2011 at 18:43 UTC
Updated:
6 Feb 2011 at 11:00 UTC
I've created a number of views in drupal7 using Colorbox .x-1.0-beta1
the fields I load are
Node: Title
Fields: body
Fields: field_image
Colorbox: Colorbox trigger
the settings for Colorbox trigger are
Fields: field_image is the trigger (works)
Node: Title.. is the caption (works)
Fields: body.. opens in the pop up .. but skips the content
this is what happens
node 01 - title correct - no content
node 02 - title correct - content from node 1
node 03 - title correct - content from node 2
node 03 - title correct - content from node 3
node 04 - title correct - content from node 4.....
http://fionabennett.com/drupal/?q=couture
any suggestions would be much appreciated
thanks
stevie
Comments
Comment #1
frjo commentedEmbarrassing bug you found in my code :-). Thanks for reporting it in such a clear and concise manner! I have committed a fix to 7-dev now.
If you can test it please report back here how it works.
You can get in directly via CVS or wait a few hours for the dev tarballs to be rebuilt. You can see on the date for "7.x-1.x-dev" when it is rebuilt, at the moment it says 2011-Jan-15. When you see it has changed to 2011-Jan-18 you can download it. A beta 2, that will include this fix, is not far away either.
It was the unique ID for each link that was counted up +1 in the middle of building the popup making the link point to the last node. Rookie mistake.
Really nice site you are building! Always fun to see ones code used in such places.
Comment #2
stevieb commentedyou are god - it works beautifully
thank you thank you thank you
Comment #3
frjo commented