I'm attempting to create a custom content type in Drupal to represent concerts. Each concert has a title, description, and multiple dates and locations (the concert may be performed on more than one day at different locations).

Since dates and locations are dependent on each other, I thought that the Field Collection module would be ideal for me. This module allowed me to group the date and location field and add multiple values; however, when I try to display the concerts in a calendar in Views (I've tried both Calendar and FullCalendar), I can't find a way to display the title of the concert because it is now in a separate entity.

Is there any way I could make my current content type work, or is there a better way to do this?

  • Why is the title in a separate entity? Shouldn't you view be a node view of type concert, then the title is on the concert? – 2pha Jan 11 '13 at 4:37
  • Since the Date field is in the Field Collection, when I create the calendar in Views, I only have access the the fields in the Field Collection. – Kevin Jan 11 '13 at 13:31

I was able to solve this by adding a relationship in the Views setup. Now, I have access to all the fields of the host entity.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.