Change default calendar view to month not week

How do I change the default calendar to month not week when a user first clicks on calendar in the navigation bar?


You can add the following to your config_override.php file:

$sugar_config['calendar']['default_view'] = 'month';

valid values are “day”,“week”,“month”,“year” or “shared”.

You will need to clear cookies for this to take affect since SuiteCRM will remember your current view.


For the record, nowadays instead of “shared” you have to use “sharedWeek” or “sharedMonth”.
(And it looks like the setting doesn’t get stored in a cookie anymore)

This works well.

Is there a way to apply this same customization to the calendar module when displayed in a dashlet?