Ongoing events, such as gallery exhibitions and performance bookings, form a significant and important part of the events many organizations promote.
However, because ongoing events extend over long time periods, they can take over calendars and make it difficult for visitors to find one-time and recurring events.
One of the best ways to promote ongoing events is to create an Ongoing Events filter that lets visitors show or hide the ongoing events according to their needs.
Topic links
This academic calendar uses an Event Type filter (outlined in red) to let visitors control the event types they want to see. For example, visitors can see only one-time events by clearing the Ongoing Event and Recurring check boxes.
This community events calendar uses a Display Ongoing Events filter to let visitors control whether or not ongoing events display in the calendar. With only No selected (the default), no ongoing events display. To display ongoing events, visitors select Yes.
Because creating an Ongoing Events filter involves a number of steps, the process can seem complicated. It's really not too bad, however, as long as you know what settings to use at each step along the way.
Scan the following list to get a high-level sense of what the steps are. Then, refer to the detailed section about each step for specific set-up instructions.
By default, many calendar views do not display events that started in the past. This means that ongoing events display only on the date the event starts and not on subsequent dates.
For the Ongoing Events filter to work with these calendar views, you must turn on the option to include events that started in the past.
In some calendar views, you can also choose whether or not to label ongoing events, and you can provide a custom label.
The following instructions describe, for calendar views where the options are available, how to display events that started in the past and label these ongoing events.
For a summary of how each calendar view handles ongoing events, take a look at this table.
Or, to add a new calendar view, click Add a Calendar View.
Note that to find the ongoing label options for List view, you have to click the Events tab(s).
Optionally, for Ongoing events label, replace the default label with a label you prefer. For example, you might replace Ongoing through with Continues until.
Use the following table to determine the views for which you must turn on the option for including past events and the views to which you can add a custom ongoing events label.
Calendar view | Ongoing events display by default? | Label ongoing events? |
Classic Table | No. Turn on Include events that started in the past. | No |
List | No. Turn on Include events that started in the past. | Yes |
Detail List - Title | No. Turn on Include events that started in the past. | Yes |
Detail List - Date | No. Turn on Include events that started in the past. | Yes |
Labeled List - Title | No. Turn on Include events that started in the past. | Yes |
Labeled List - Date | No. Turn on Include events that started in the past. | Yes |
Photo Events | No. Turn on Include events that started in the past. | Yes |
Map | No. Turn on Include events that started in the past. | Yes |
3 Columns | No. Turn on Include events that started in the past. | Yes |
Compact List | No. Turn on Include events that started in the past. | Yes |
Performance Schedule | No. Turn on Include events that started in the past. | No |
Classic Day | Yes | No |
Classic Month | Yes | No |
Classic Multi-Day | Yes | No |
Classic Multi-Week | Yes | No |
Classic Week | Yes | No |
Conference Schedule | Yes | No |
Linear Grid | Yes | No |
List by Month | Yes | No |
News | Yes | No |
Before visitors can filter events by kind, each event must be identified as a particular kind. That's what the Event Kind custom field is for.
As you saw in the examples at the beginning of this topic, you can set up an Event Kind filter in different ways. In this section, we create a filter with three event kind values: one-time, ongoing, and recurring. While the specific values you use might differ, you can still follow the steps to set up a filter that works best for you.
By default, the values are listed alphabetically with One-time first and Recurring last.
If you prefer, you can change the order. For example, you might want to list Ongoing last.
Making the default the most common value saves event creators time.
This prevents event creators from saving new events unless they have assigned an event kind field value.
Clearing this field means the field won't show up in published calendar and event detail views. While the field is key for internal event management, in most cases, calendar visitors don't need to know if an event is tagged as ongoing or one-time.
If you support event submission, selecting Show this field on the event submission form means that event submitters will have to tag each event they submit as ongoing or regular.
After you create an Event Kind custom field and include the field in the appropriate templates, you're ready to start assigning event kind field values to events.
Keep in mind that, for an Event Kind filter to work effectively, each event must be correctly identified as one of the kinds. Make sure event creators understand which events qualify as each kind and how to use the Event Kind field to tag them.
What if I create an event kind custom field after I already added a bunch of future events to my calendar? The new custom field is automatically added to all events that use templates which include the field. However, the field value will be blank. You have to open each event and assign an event kind field value. If you have such a large number of events that a manual process will be prohibitively time consuming, contact Trumba Support about adding field values through a batch process.
If you don't have a large number of ongoing events and just want visitors to have the option of selecting the kinds of events they want to see, skip the filter view section and go straight to Add a Show which events? filter spud.
A filter view is a view of events pre-filtered by one or more custom field values. You can give visitors the ability to select which kinds of events they want to see without ever setting up a filter view. However, if you promote a significant number of ongoing events, setting up a HideOngoing filter view is probably a good idea.
Pre-filtering the view to include only events that are not ongoing (for example, that have either the One-time or Recurring value assigned in the Event Kind custom field) prevents ongoing events from taking over the calendar and making other events more difficult to find. Visitors who want to see the ongoing events will still have the option of displaying them.
Tip Before you can create a filter view, you must have created an event kind field and assigned field values to events.
Tip If you're taking the Yes/No approach described in the examples, select the No value.
Including all values in filter spuds means that, even though ongoing events are hidden by default, visitors will be able to display them by selecting the Ongoing value in a filter spud.
You set up and embed a filter spud so that visitors can easily display only the kinds of events they care about.
Tip If you created a filter view, the filter spud you create must be associated with that view. You'll learn more about this in the instructions that follow.
If you need help, follow these general instructions.
If you already have one or more filter spuds set up, you can add another filter spud configuration. Learn more.
This lets visitors display multiple kinds of events (for example, one-time and ongoing) at the same time.
With everything in place, you're ready to embed the main calendar and filter spud code into the same webpage on your site.
Tip If you already embedded the main calendar spud code and you just created a new filter view, you must replace the original main calendar spud code with the filter view code described in the instructions that follow.
Note that the value names you chose to use in your filter spud may differ from the examples provided here.
In the filter, select Ongoing. Ongoing events should display.
Tip If the spud isn't working properly, work through the Troubleshooting checklist that follows to resolve the problems.
When I first view the page, even though Ongoing is not selected in the filter, I see ongoing events in the calendar
filterview
URL parameter. The code should look like this, where name is the web name of your calendar and filter view name is the name of the HideOngoing filter view you created.
filterview
URL parameter in the code, follow the steps described here to copy the main calendar spud code.When I first view the page, all options including Ongoing are selected in the filter
filterview
URL parameter. The code should look like this, where name is the web name of your calendar and filter view name is the name of the HideOngoing filter view you created.
Tip If you have added more than one filter spud configuration, your filter spud code may also contain a spudConfig
value. Learn more.
filterview
URL parameter in the code, follow the steps described here to copy the filter spud code.The filter spud lists other values but the Ongoing value isn't listed
Nothing happens in the calendar when I select or clear values in the filter