You can use several different methods to hide or show cancelled events on your published calendars, spuds, and feeds, using the built-in Cancelled Status field.
Click links below for a walk through of four typical approaches:
Important:
Other methods for cancelling events, including manually editing the title, are not affected. For help with this, contact Support.
Using the built-in Cancelled Status field, you can add a filter control spud that gives site visitors a way to control whether or not they see the cancelled events on your published calendar.
Or, if you don't yet have a filter spud, click Add a Control Spud, click Filter, and then click OK.
If you already have a filter set up, you can add Cancelled Status to it. Remember, however, that you can have a maximum of only five filter levels. For more information, see Filter spuds.
Here, for example, on the fictional Trumba University calendar, we used Show Cancelled Events:
Tip Review the options and settings described in Filter spuds to further configure the spud for your website.
You can also use the Cancelled Status field to set up a filter view that automatically hides (or shows) only the cancelled events on your published calendar, without allowing site visitors to then choose a different view (as described above in Add a filter control spud).
Important For information and guidance about when to use a filter spud vs. when to use a filter view, see When to use filter views.
At the top of the Publishing Control Panel, a Filter View dropdown menu appears.
Important Use a name with no spaces because spaces in filter view names have to be replaced with "%20" when you embed the spud code or provide a link to your pre-filtered calendar views or events feeds.
Important If you set up a filter view without an accompanying filter spud (that is, you're not Using a filter control spud and filter view together), don't include it in the Search info panel. Without a filter spud, the filter view field has no label, so the value(s) you select for the field appear in the Search info panel without any label. In this case, rather than accepting all the defaults, set Show filters in search info panel to No, such as in this example:
Notice that the main calendar spud now includes the filterview
URL parameter, as highlighted in the image below. This is the line you'll add to the main calendar spud on your website to display the filtered view for your published calendar.
Tip Review the options and settings described in Filter views to further configure and then embed the view on your website.
You can use a filter control spud and filter view together to both create a default view with the cancelled events hidden, for example, while still allowing your site visitors to choose to show the cancelled events.
In this case, however, make sure you set Include all values in filter spuds to Yes, as shown here:
Notice that the cancelled events are hidden by default, but site visitors can select Cancelled from the Show Cancelled Events filter spud to show the cancelled events, if they wish:
Tip Again, please review the options and settings described in Filter views to further configure and then embed the view, now also including the filter spud, on your website.
When you create a filter view, you also automatically create a collection of filter-view-specific promotion spuds (the same spuds you already configured for the published calendar).
Here, for example, we selected the HideCancelledEvents filter view that we created in Filter views, and then on the Publish Settings > Promotion Spuds tab, took a look at the spud code for the Upcoming Events promotion spud.
Notice the spud name upcoming and the filterview
URL parameter highlighted below:
When you insert the filterview
URL parameter from the spud code (associated with the filter view)into your promotion spuds, they also apply the filter. In this case, the cancelled events no longer appear in the Upcoming Events promotion spud.
Tip You can also use filters to pre-define your feeds (Customize calendar feeds) and URL-encoded query strings (Filterview URL parameter). An easy way to find the URL parameter is on the Publish Settings > Hosted View tab > Display search control field.