I'm using a Views Lightbox trigger field on a table view. When the trigger field is clicked, a video (from a CCK field in the node) opens up in the lightbox. This works fine with the default sort order I have set (date descending).

The user can change the sort order of the table by clicking on the up/down arrows next to the column titles. But when they do so, the Lightbox trigger fields are not re-ordered along with them. So if the user reverses the default order to date ascending, the trigger field next to the first node now opens the video from the last node. The trigger next to the second node opens the video from the second-to-last node and so on...

I'm using the patch #575926: Lightbox trigger in Views to get the trigger field to work. No other changes to lightbox. Views 6.x-2.8, CCK 6.x-3-dev, Drupal 6.15

Comments

podox’s picture

I should have said that I'm using SWFTools to display the video in the lightbox. The video is hosted externally, and the video URL is stored in the node as a CCK text field. The patch has now been rolled in so that no longer applies.

You can view an example of the problem at http://openspires.nsms.ox.ac.uk/introduction-old-english

1. Click on the Video tab
2. Click on the Play button for the top podcast (Old English Then and Now). This is just a Views Lightbox trigger field styled with CSS to look like a play button. The correct video opens.
3. Reorder the podcasts by date ascending by clicking on the arrow next to the 'Date' column header.
4. Click on the Play button for the new top podcast (An Introduction to Old English). The 'Old English Then and Now' video opens up, even though the node title in the lightbox is correctly displayed as 'An Introduction to Old English'.

I've tried turning off Ajax sorting but the problem remains. Any clues? Is this a SWFTools issue?

bigjim’s picture

Having the same issue with a a lightbox popup that is simple html (displaying CiviCRM content)