I use several views like timeline, year, month…
My event model has an color property. When I display timeline view, my events are colored with this value but when I switch to the year view, events are the same color.
Do you have a solution to display events with well color in year view?
looks like year view doesn’t apply event properties, so the only way to achieve this, is to use event_class template. It is a client side function, which takes event start date, end date and event object itself as parameters, and returns class name, which should be applyed to this event.
/* class should be applyed only to yearView events*/
[/code] - all events in year view will have this background