Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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
add comment

1 Answer

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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