I’m developing a site in Drupal 7 where users view a calendar of events as well as photos taken at those events.
I’ve already created an Event content type, generated several Event nodes, and put those nodes together in a Calendar view.
What I want to do now is add a ‘Photos’ link to Event nodes. Clicking on this link should open a gallery of photos for the given event. For example, imagine a user is viewing an Event node titled ‘Pool Party @ Jan’s House’. The user clicks on the node’s ‘Photos’ link and then sees a photo gallery also titled ‘Pool Party @ Jan’s House’ that displays all and only photos taken at that event.
How do I get the following two actions to happen (automatically) when an Event node is created?
- Make a directory that will contain photos for the event. (These photos will be uploaded later by users who attend the event.)
- Include a ‘Photos’ link in the newly created Event node that opens a page display of the directory's files. (See the example I give above.)
I’ve been trying to figure this out using the Media, Rules, and Views modules, but I’m not making much progress.
Thanks in advance for your help.