LiveWhale

Welcome, Guest Login

Support Center

How do I select one category at a time?

Last Updated: Jun 25, 2014 01:30PM PDT
Option: exclusive_categories
Default: false
Values: true/false
 

Default

By default, exclusive_categories is turned off. Turning off this option allows the user to select more than one category at a time and as a result all events satisfying either category (OR) will be shown.

In the example below I have selected both "Academic Calendar" and "Important Dates" (noted by the red arrows). By choosing both of these category options, any event that is in either of these categories will be displayed.



 

Turning on Exclusive Categories

Turning on "exclusive_categories" allows the user to only select one category at a time. An "All" link will also appear at the top of the menu letting users display all events. This is useful when using categories as a navigation


Widget Code:
<widget type="events_calendar">
   <arg id="exclusive_categories">true</arg>
</widget>

Result: Users can only select one category at a time for filtering events and an "All" link is displayed (see red arrows)



 
eb8f96c071020d8b0923da726d6cab65@livewhale.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete