Search the Community
Showing results for tags 'schedule'.
-
First of all, I would like to thank you all for such great documentation and community. I have just started developing 5 days ago and I have completed some really difficult programming relatively easily. But, I do have a quick question. The site I am developing has an events listing that links to events that have a possibility of multiple dates. That was easy. But, now I have to create the schedule listing and the events could look like this: Monday, Nov. 3rd 10:00 am - Event 1 11:30 am - Event 2 Tuesday, Nov. 4th 12:00 am - Event 1 So, to achieve this, I create a repeater field for the event date and time. I created the functionality for the schedule and have the events sorted by date but if the event has multiple dates and times, I cannot figure out how to pull the second date and time out and then list the event again. I thought about doing a recursive function that traverses the page array and pull out each event and date/time, putting it into a new array, sorting it and then doing the schedule. But that just seems like overkill and I am little rusty with my PHP. Does someone have something like this or do I need to rethink this?