Welcome, Guest Login

Support Center

Our documentation is moving:

Please check for the most up-to-date LiveWhale CMS and LiveWhale Calendar documentation. The below legacy documentation will remain available as a reference until the documentation migration is complete.

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)


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>

Result: "Week" and "Month" are the only options that appear in the view menu.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found