I'm using the template files to customize the look of a calendar of our class schedule. For our classes that have more than one session (e.g., Class is every Tuesday, 10:30 - 1:30...) we use recurring events.
To make sure it is clear when each class offering begins, I'd like to have Events Manager display an image to mark, "This is when the class begins."
In the template file, there's a nice foreach loop that runs through the $calendar['cells'] array that is passed to the template. The array includes information about each event. Here's the information I can find for each recurrence within each cell:
recurrence_id => 127 recurrence => 0 recurrence_interval => 1 recurrence_freq => daily recurrence_days => 0 recurrence_byweekno => 1 recurrence_byday =>
None of this information seems to change from one recurrence of a recurring event to the next. Is there some way of figuring out that I'm on the first recurrence?
(I'm quite sure that this would not work if I try to just have the image display the first time a recurrence_id appears. Some recurring events span multiple months.)