The Events Module List View can be filtered by Category, Host, or by finding Events which are happening between given dates.
The Events Module includes the following optional features for helping Users navigate the List View.
Browse by Category
Browse by Host (requires Authors Module)
Browse by Month/Date - Finds Events which are happening during this month
Search Events which are happening between two Dates
You may be familiar with many of these if you've used the Blog Module Navigation, however the main difference between them is how they handle dates; navigating the Blog Module by date would use the post's Release Date
, whereas the Events Module will check to see if a given date falls between the Event Start
and Event End
dates.
You can use the Navigation Options on the Map and Calendar Layouts- these are List Layouts too!
However, certain features just won't have the same effect. For example, filtering the Calendar Layout by Date does not make sense- as the Calendar controls already give you an option to navigate by Date- using the Archive Navigation on the Calendar would cause certain Events to be "missing" from the Calendar, even if the User had navigated to a different month. On the other hand, it's perfectly possible that you might wish to filter the Calendar by Host or Category- to allow the User to focus on the type of Events which interest them most.
As the Events Navigation options are powered by URL parameters, the parameters will filter all Events List Views on the Page the same way.
If you want to provide a Calendar and an Events List together on the Page for example, and you only wish one of them to be affected by the filters in the URL, you can do so by only using the use_adv_search: 'true'
parameter on the List View you want to be filtered.
Each Events Navigation Article will explain how you can use Liquid Logic to dynamically show the currently applied filter. Here, we'll show an example of some Logic that will check for any of the applied filters:
Of course, you can use this for inspiration and edit as you wish.