LiveWhale

Welcome, Guest Login

Support Center

How do I change the calendar's default view?

Last Updated: Jun 19, 2017 07:01AM PDT

Updating the calendar default view is a very simple configurable change.  First let's locate your events_calendar widget.

  • If you are a calendar client, this can be found in your calendar theme folder at /livewhale/theme/global/includes/calendar_widget.html or /_ingredients/themes/global/includes/calendar_widget.html.
  • If you are a CMS client, your calendar code is likely found in the source of your calendar page (e.g., /calendar/index.php)


Inside the events_widget code you may add the "default_view" argument with any of the values below based on your preference. By default, the calendar will display in day view. If you prefer either the week, month, or  all upcoming events view, add the "default_view" argument with the appropriate value (day, week, month, all). See below for code examples.

Argument: default_view
Default: day
Values: day, week, month, all

Week View

<widget type="events_calendar">
   ....
   <arg id="default_view">week</arg>
</widget>
 

Month View

<widget type="events_calendar">
   ....
   <arg id="default_view">month</arg>
</widget>

All Upcoming Events List View

<widget type="events_calendar">
   ....
   <arg id="default_view">all</arg>
</widget>

Day View (default)

<widget type="events_calendar">
   ....
   <arg id="default_view">day</arg>
</widget>


View more calendar widget arguments.

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