I have created a custom Eventcalendar with the following structure:
- Event 1 (Modx-Ressource 1)
Date/Time 1 (Migx-TV-Record) (i.e. 01-02-2016)
Date/Time 2 (Migx-TV-Record) (i.e. 01-03-2016)
...
- Event 2 (Modx-Ressource 2)
Date/Time 1 (Migx-TV-Record) (i.e. 01-04-2016)
Date/Time 2 (Migx-TV-Record) (i.e. 01-01-2016)
...
That means that the Modx-Ressource has some Information about the Event (like Ticketprice, Description, Title...) and multiple Eventdates/-times stored in a Migx-TV.
That worked so far... But i try to make a Output which i can sort by date, limit and so on... Maybe the output looks like this:
Event 2, Date/Time 2 (i.e. 01-01-2016)
Event 1, Date/Time 1 (i.e. 01-02-2016)
Event 1, Date/Time 2 (i.e. 01-03-2016)
Event 2, Date/Time 1 (i.e. 01-04-2016)
How can i get this done? Sorry for my bad English.
I think, it would be better, to store all Eventdates into a custom-table and use a MIGXdb - TV to manage them.
Or, maybe use migxCalendars for the whole thing, which stores everything Events and Eventdates into custom-tables (no MODX-resources envolved).