Skip to main content
Increased specificity of question
Source Link

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?

  1. Make a directory that will contain photos for the event. (These photos will be uploaded later by users who attend the event.)
  2. Include a ‘Photos’ link to the newly created directory in the newly created 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.

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?

  1. Make a directory that will contain photos for the event. (These photos will be uploaded later by users who attend the event.)
  2. Include a ‘Photos’ link to the newly created directory in the newly created Event node. (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.

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?

  1. Make a directory that will contain photos for the event. (These photos will be uploaded later by users who attend the event.)
  2. 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.

Rewrote title and body to improve question clarity
Source Link

Referencing/linking Make a view of photos for an event from the event listingdirectory and link it in a node at node creation

I needI’m developing a bitsite in Drupal 7 where users view a calendar of help linking together an event listing andevents as well as photos taken at the listed eventthose events.

I haveI’ve already created an Event content type that includes date, timegenerated several Event nodes, and location fieldsput those nodes together in a Calendar view.

What I intendwant to do now is add another field of type Link or, more likely, of type Node Reference that will appear on the content as a 'Photos' link. Here's how I'd like this 'Photos'‘Photos’ link to workEvent nodes. ClickingClicking on itthis link should open a page with all and only photos taken at the given event. If the event has not yet happened, or if no users have uploaded anygallery of photos for the given event, there'll be some appropriate no results behavior. OtherwiseFor example, the photos will appear as dictated by the View I'll create for the photos. I'd prefer this beimagine a View of files rather than content. Thatuser is, I'd rather keep each photo as a file entity (using the File Entity module bundled with version 1 of viewing an Event node titled ‘Pool Party @ Jan’s House’. The user clicks on the Media module) instead of making each photonode’s ‘Photos’ link and then sees a nodephoto gallery also titled ‘Pool Party @ Jan’s House’ that displays all and only photos taken at that event.

How shoulddo I set up the field onget the following two actions to happen (automatically) when an Event content type? I'm thinking a Node Referencenode is best, since I'm pretty sure the associated event photos will be put together using Views. Assuming I do use Views, can I pullcreated?

  1. Make a directory that will contain photos for the event. (These photos will be uploaded later by users who attend the event.)
  2. Include a ‘Photos’ link to the newly created directory in the newly created Event node. (See the example I give above.)

I’ve been trying to figure this offout using a view of files? And if yes, how should I set up the filtersMedia, Rules, and relationships in that view to pull in the applicable photos?Views modules, but I’m not making much progress.

I'm using Drupal 7.23. ThanksThanks in advance for your help.

Referencing/linking a view of photos for an event from the event listing

I need a bit of help linking together an event listing and photos taken at the listed event.

I have an Event content type that includes date, time, and location fields. I intend to add another field of type Link or, more likely, of type Node Reference that will appear on the content as a 'Photos' link. Here's how I'd like this 'Photos' link to work. Clicking on it should open a page with all and only photos taken at the given event. If the event has not yet happened, or if no users have uploaded any photos for the event, there'll be some appropriate no results behavior. Otherwise, the photos will appear as dictated by the View I'll create for the photos. I'd prefer this be a View of files rather than content. That is, I'd rather keep each photo as a file entity (using the File Entity module bundled with version 1 of the Media module) instead of making each photo a node.

How should I set up the field on the Event content type? I'm thinking a Node Reference is best, since I'm pretty sure the associated event photos will be put together using Views. Assuming I do use Views, can I pull this off using a view of files? And if yes, how should I set up the filters and relationships in that view to pull in the applicable photos?

I'm using Drupal 7.23. Thanks in advance.

Make a directory and link it in a node at node creation

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?

  1. Make a directory that will contain photos for the event. (These photos will be uploaded later by users who attend the event.)
  2. Include a ‘Photos’ link to the newly created directory in the newly created Event node. (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.

deleted 1 characters in body
Source Link

I need a bit of help linking together an event listing and photos taken at the listed event.

I have an Event content type that includes date, time, and location fields. I intend to add another field of type Link or, more likely, of type Node Reference that will appear on the content as a 'Photos' link. Here's how I'd like this 'Photos' link to work. Clicking on it should open a page with all and only photos taken at the given event. If the event has not yet happened, or if no users have uploaded any photos for the event, there'll be some appropriate no results behavior. Otherwise, the photos will appear as dictated by the View I'll create for the photos. I'd prefer this be a View of files rather than content. That is, I'd rather keep each photo as a file entity (using the File Entity module bundled with version 1 of the Media module) instead of making each photo a node.

How should I set up the field on the Event content type? I'm thinking a Node Reference is best, since I'm pretty sure the associated event photos will be put together using Views. Assuming I do use Views, can I pull this off using a view of files? And if yes, how should I set up the filters and relationships in that view to pull in the applicable photos?

I'm using Drupal 7.2.323. Thanks in advance.

I need a bit of help linking together an event listing and photos taken at the listed event.

I have an Event content type that includes date, time, and location fields. I intend to add another field of type Link or, more likely, of type Node Reference that will appear on the content as a 'Photos' link. Here's how I'd like this 'Photos' link to work. Clicking on it should open a page with all and only photos taken at the given event. If the event has not yet happened, or if no users have uploaded any photos for the event, there'll be some appropriate no results behavior. Otherwise, the photos will appear as dictated by the View I'll create for the photos. I'd prefer this be a View of files rather than content. That is, I'd rather keep each photo as a file entity (using the File Entity module bundled with version 1 of the Media module) instead of making each photo a node.

How should I set up the field on the Event content type? I'm thinking a Node Reference is best, since I'm pretty sure the associated event photos will be put together using Views. Assuming I do use Views, can I pull this off using a view of files? And if yes, how should I set up the filters and relationships in that view to pull in the applicable photos?

I'm using Drupal 7.2.3. Thanks in advance.

I need a bit of help linking together an event listing and photos taken at the listed event.

I have an Event content type that includes date, time, and location fields. I intend to add another field of type Link or, more likely, of type Node Reference that will appear on the content as a 'Photos' link. Here's how I'd like this 'Photos' link to work. Clicking on it should open a page with all and only photos taken at the given event. If the event has not yet happened, or if no users have uploaded any photos for the event, there'll be some appropriate no results behavior. Otherwise, the photos will appear as dictated by the View I'll create for the photos. I'd prefer this be a View of files rather than content. That is, I'd rather keep each photo as a file entity (using the File Entity module bundled with version 1 of the Media module) instead of making each photo a node.

How should I set up the field on the Event content type? I'm thinking a Node Reference is best, since I'm pretty sure the associated event photos will be put together using Views. Assuming I do use Views, can I pull this off using a view of files? And if yes, how should I set up the filters and relationships in that view to pull in the applicable photos?

I'm using Drupal 7.23. Thanks in advance.

Source Link
Loading