Closed (fixed)
Project:
Node Gallery
Version:
6.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2010 at 13:59 UTC
Updated:
23 Nov 2011 at 12:10 UTC
Hi
I would like to write on image node, some other info:
1. info from which gallery the image is. You have there link Back to gallery, what is nice but not very explaining. The gallery title is for sure good information for visitors.
2. link to user entire gallery (e.g. Look at all galleries from this user)
How it could be done? If it possible, is there some context for the gallery image with some like this information or is it possible to call some functions which will return these informations?
thanks
Igor
Comments
Comment #1
scroogie commentedAs the gallery is a usual drupal node, you can get node_load() the gallery node and access those properties.
Comment #2
justintime commentedIf you're using views, the parent gallery relationship will give you access to all that as well.
Comment #3
igorik commented@scroogie: But How can I find parent gallery nid for concrete image? I suppose that there is some context for it.
Comment #4
justintime commentedComment #5
dddave commented