Hyperlink from a grid view to a single-node view?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by kirilius on November 11, 2008 at 11:18pm

I have been thinking for a few days now over this problem and don't seem to find a solution:

I have a picture gallery, which I built using CCK+Imagefield+Views. Every picture is a node. I have a grid view that displays the thumbnails. I also have a view that displays a single node and has a pager to jump to the previous/next picture. My problem is that I need to connect those two views. I mean when a user clicks on a thumbnail, he/she should jump NOT directly to the node but to the node in the second view.
Cosider Google Picasa as an example of such functionality: you see the thumbs page (all images are in some particular order), then you click on a thumbnail and see the large picture. From this moment you can use the back and forth arrows to go to the previous/next image (the second view is using the same order).

Is that possible with Views?

Comments

Custom prev next links

Posted by dwees on November 12, 2008 at 1:28pm

There is an explanation on Drupal.org that explains how to do this, at least for a Taxonomy gallery, which I have used on a couple of my sites. The process would be pretty similar for a view as well.

I forget what the exact url is, but you should be able to search and find it.

Dave

It looks like Custom Pagers

Posted by kirilius on November 12, 2008 at 6:56pm

It looks like Custom Pagers might be the solution. I will check and see if that's the case.

That's the article I

Posted by kirilius on November 13, 2008 at 1:17am

That's the article I believe. Custom Pagers does that. Thanks!

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /