Combining multiple events into one #27
-
I'm using the calendar for an online fantasy textbased RPG, where tournaments are created in "series", with (by default) 10 minutes between each starting time. A serie has the same name and then appends the series number (in roman letters). What I'm looking for is a way to combine/"merge" a serie of tournaments/events into one, showing the starting time of the first event and the last event. Attached is a picture of how a couple of series currently looks like in the calendar, as you can see it gets messy very quickly if you have more than one tournament series running per day. What I'm looking for is a way to customize the view so a series is merged down to one event, so for example on the 5th, the series "Oron gnager" would be combined into one event like this:
As for handling what happens when clicked, being taken to the first resource event would suffice or just having nothing happen, we use it as an overview to schedule tournaments without having them overlap with someone else's, as we have a few people with access to running/setting up tournaments. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
A slightly hacky solution could be to use the Are those events linked in the database in any way to reflect that they're from the same series, or are these all independent events in your database? It'd make sense to link them so you don't need to do name matching or something. Another solution is to remove the resource from the Edit: if you add an overarching TournamentSeries resource to link the specific events to, don't forget to give it a color property so you can easily distinguish your events on the calendar :) |
Beta Was this translation helpful? Give feedback.
-
As of version 1.6, you can implement this behavior using a custom event generator. Simply implement it to return a single event for the first event of every series, set the end time of that event to the end time of the last of that series, and return no events for the rest of that series. |
Beta Was this translation helpful? Give feedback.
As of version 1.6, you can implement this behavior using a custom event generator. Simply implement it to return a single event for the first event of every series, set the end time of that event to the end time of the last of that series, and return no events for the rest of that series.