Is there anyway to access just the nodereference URL from within the node object? I have a content type where you upload an image and then use the nodereference to associate that image to a node. I want to be able to make that image link to the node and get rid of the node title on the display. When using contemplate, I see that I can access the node ID and the "view" which is Node Title and I am hoping to have a variable that is just the URL - just "path/to/page" -- any ideas?
Comments
Comment #1
yched commentedNot something CCK can / will provide.
Once you have the node id, what you do with it is up to your node template. deriving the url path from the nid is quite straightforward :
print url('node/' . $nid);