Answers.Body: <p>One thing you could do is have all screenings be Events, and then have Films be a type which contains the film's data, but <a href="https://craftcms.com/docs/relations" rel="nofollow">use relationships</a> to link to multiple Events which are the film's screening times. You could even have Events have two entry types: Events and Film Screenings (or something similar to this) so they could be displayed differently in the agenda view, and Film Screenings could link back to their parent Film entry.</p>
  
  <p>Here's more information about using relationships and reverse relationships: <a href="https://straightupcraft.com/articles/introduction-to-relations-and-reverse-relations-in-craft-cms-with-examples" rel="nofollow">https://straightupcraft.com/articles/introduction-to-relations-and-reverse-relations-in-craft-cms-with-examples</a></p>
  
  <p>I'm not sure if this solution would fit your needs, but given my understanding of your issue, I think this is how I'd try to tackle it.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-24T19:20:54.923Z
Answers.LastActivityDate: 2016-05-24T19:20:54.923Z
Answers.UserDisplayName: Gavin Anderegg
Body: <p>I have two different event types in my Events channel. The first one is events and it is very straightforward: Title, Description, Date. The other one is films and it is a little more complex: Title, Description, Screening(s) - which is 1 or more Date/Time. (I am using a supertable to allow the user to add as many screenings as they would like).</p>
  
  <p>I have it set up like this to keep the administration of the content as DRY as possible - as all screenings of a movie will share the same description, title and other meta data.</p>
  
  <p>I need to display all of my events and film screenings in an agenda view - sorted by date. How do I accomplish something like this?</p>
  
  <p>The problem, if it isn't obvious, is that screenings from films could be staggered amongst screenings from other films so a simple for loop doesn't do the trick. I need to get all of the events and screenings (an individual screening being an "event" in this case) into an array that I can sort.</p>
  
  <p>Thank you for any ideas or tips ahead of time.</p>
  
Tags: <datetime><events><sorting><array><plugin-supertable>
Title: How do I sort and display event entries when each event can have multiple start times?
ThreadText: # How do I sort and display event entries when each event can have multiple start times?
  
  (Asked by: username_0 on 2016-05-24)
  
  I have two different event types in my Events channel. The first one is events and it is very straightforward: Title, Description, Date. The other one is films and it is a little more complex: Title, Description, Screening(s) - which is 1 or more Date/Time. (I am using a supertable to allow the user to add as many screenings as they would like).
  
  I have it set up like this to keep the administration of the content as DRY as possible - as all screenings of a movie will share the same description, title and other meta data.
  
  I need to display all of my events and film screenings in an agenda view - sorted by date. How do I accomplish something like this?
  
  The problem, if it isn't obvious, is that screenings from films could be staggered amongst screenings from other films so a simple for loop doesn't do the trick. I need to get all of the events and screenings (an individual screening being an "event" in this case) into an array that I can sort.
  
  Thank you for any ideas or tips ahead of time.
  
  **Tags:** datetime, events, sorting, array, plugin-supertable
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-05-24. Score: 1
  
  One thing you could do is have all screenings be Events, and then have Films be a type which contains the film's data, but [use relationships](https://craftcms.com/docs/relations) to link to multiple Events which are the film's screening times. You could even have Events have two entry types: Events and Film Screenings (or something similar to this) so they could be displayed differently in the agenda view, and Film Screenings could link back to their parent Film entry.
  
  Here's more information about using relationships and reverse relationships: <https://straightupcraft.com/articles/introduction-to-relations-and-reverse-relations-in-craft-cms-with-examples>
  
  I'm not sure if this solution would fit your needs, but given my understanding of your issue, I think this is how I'd try to tackle it.
  
  
  ---
  
  