You can dynamically output a navigation menu of Categories which have Events assigned to them. The User can then filter the Events.
This Article will show:
Include the following liquid to dynamically get a list of available Events Categories for the User to select:
The parameters refer to Layouts which will be used to display the Category links.
The link should be the slug of your Events List view followed by ?category={{this.id}}. Siteglide will be able to read the Category id from the URL and populate the List View on refresh. In this example we use the context object to automatically get the slug of the current Events Page.
You may wish to give the User some feedback about the current filter/ search terms that are applied on the Events List. For Categories, you can use {{context.exports}} object to get the name of the category you are filtering by: