I'm building an artgallery using Page Manager and Panels in Drupal 7.
A piece of art in the gallery is a node type and each one is related to a period of time, which is also a node type.
When viewing a page displaying a period of time, I need a link that takes the user to all the pieces of art relating to that period of time.
So I have made a view, that uses the nodeid of a timeperiod as a contextual filter, and gets all the artwork nodes, that are related to that particular timeperiod node.
The question is, when on the page for the timeperiod, how do I grab the nodeid of that particular timeperiod and dynamically generate a link to a page where the current nodeid is passed as an argument? (So that the correct pieces of art are fetched with the view).