Individual Calendar Settings

Hello,

Is it possible to change how many months of events are displayed for an individual group calendar through calendar_widget.html?

<widget type="events_calendar">
  <arg id="mini_cal_heat_map">true</arg>
  <arg id="thumb_width">200</arg>
  <arg id="thumb_height">200</arg>
  <arg id="hide_repeats">false</arg>
  <arg id="show_groups">true</arg>
  <arg id="show_locations">false</arg>
  <arg id="show_tags">true</arg>
  <arg id="use_tag_classes">false</arg>
  <arg id="search_all_events_only">true</arg>
  <arg id="use_modular_templates">true</arg>
  <arg id="modular">true</arg>
  <arg id="month_view_day_limit">1</arg>
  <arg id="hide_local_timezone">true</arg>
  <arg id="enable_home_view">true</arg>
  <arg id="default_view">all</arg>

We have a group requesting it to 2-3 years in future? I understand LW displays 12 months by default. We do not want to change for other groups…just one group.

Thanks,

Akbar

Hi Akbar,

I’m not sure I follow what you mean – if you use the previous/next buttons on the minical or month view, I believe you can see events farther into the future than just 12 months? Here’s an example: IU Research Events

Let us know what behavior you’re looking for and we can offer more thoughts. Thanks!

Karl

The client I talked wanted to display all of them on All tab of the calendar.

But what you mentioned may be what he needs.

Thanks.

Oh, I see, in the All view – yes that’s configurable by adding

$_LW->REGISTERED_WIDGETS['events']['custom']['all_events_month_range']=24;

or similar in your global config file via SFTP.

That will work.

Thanks Karl.