LiveWhale

Welcome, Guest Login

Support Center

How do I exclude a view option?

Last Updated: Jun 25, 2014 01:30PM PDT
Option: exclude_view
Default: n/a
Values: day, week, month, all (all events)
 

Default

By default the "exclude_view" is NOT enabled, therefore if you have not turned off the "show_view_menu", each of the view options will be shown. See image below.


 

Excluding a View

If you want to exclude an option from the view menu this can be done using the following widget code. In the widget example below, I am hiding the "Day" and "All Events" from appearing in the view menu. Notice that you can set multiple "exclude_view" options.

Widget Code:
<widget type="events_calendar">
   <arg id="exclude_view">day</arg>
   <arg id="exclude_view">all</arg>
</widget>

Result: "Week" and "Month" are the only options that appear in the view menu.

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