This Option Lets you filter Events by Host
You have installed the Events Module
You have installed the Authors Module
You have added at least one Author as an Event Host
This article explains:
How to include the Browse by Host (Author) Option when including a Blog List
Default Layout Examples
How to give feedback to the User about their results e.g. in the screenshot "Events hosted by Regina Alexander"
The "use_adv_search" parameter is needed to allow filtering from the URL to apply to your Event Items, this can be added to the include for Event List like so:
Include the following liquid to dynamically get a list of available Event Hosts for the User to select.
The author_field
will be module_field_12_4
if you are using Siteglide's Authors Module. The layouts are structured in the same way as Category Layouts in the previous section.
To filter the Blog List View, you need a link to the Blog List View slug, followed by "?module_field_12_4={{this.id}}"
. Siteglide will be able to read the URL and filter the list.
To make it easier to give feedback to the User, you can optionally include the Host's name in the URL:
On the List view, you can then include the following liquid to read the URL and decode the Author name you are currently filtering by: