Hi,
I have a list of galleries, each gallery has photos in it. I was wondering how in views I can check which gallery a photo node is in so I can make a link back to the gallery on the photo node with views attach.
At the minute when they click add comment it takes them to the photos node and they can add a comment to that picture but I would like a way back to the gallery... also this will allow me to make a view which I can use for a custom pager I think. I just need away in which I can relate the node to the gallery.
I also have no idea how to make a custom pager only filter through photo nodes with the same gallery type as the node your viewing. Any help with this would be great!
Thanks in advance.
Comments
.
I am not real sure about the links, i think you may have lost me just a bit.. But the idea about pagers staying in the gallery and having photo nodes has me thinking http://drupal.org/project/node_gallery
It has pagers and uses comments.
Seen it, tried it out. Didn't
Seen it, tried it out. Didn't like it.
It's good had I found it first I probable would have used it but you can't change the way it uploads the photos and I use image_fupload and am very happy with that as you can leave it uploading like 60 images and not have to mess about.
I also have the gallery teasers just how I like them, an while it isn't bad I am very happy with the galleries the way they are and dont want to use the module you said.
Let me make this easier to understand:
The only probable I have at the minute is that I can't get custom pager on the Photo Nodes (the ones that go through Add comment link). I can't get the custom pager to only go through these photo nodes and stop any photo nodes apprearing that are NOT in same galllery and in addition, I don't know how to add a Link back to the previous gallery, once they have clicked though to the node.
By the way the gallery created is an actually node I have created one called 'Photo Gallery'. So its a content node thats related to the photos node.
All I want is link back to the galleries on the photo node and rather then custom pager that goes thought all the photos added one that goes through all the photos in a gallery.
.
I had the same problem with pagers on other set ups. The pagers would keep going through all the photos in all the galleries. That is just one reason I changed to node gallery.
some places to start for information about custom pagers:
http://www.lullabot.com/articles/custom_paging_for_views
http://drupal.org/node/114248 ;Figuring out the Custom Pager module