Re: Default calendar view to monthly view

Originally Posted by
Systems Navigator
Hi there,
Does anyone know how to change the default calendar view to month instead of week? This is just when you open the calendar module.
Thanks!!
OS: Windows 2003 Server R2
Sugar: Version 5.5.1 Pro
Webserver: apache 2.0.59
PHP: Version 5.2.5
Mysql: version 5.0.45
copy modules/Calendar/index.php to custom/modules/Calendar/index.php
Edit custom/modules/Calendar/index.php
Change
if ( empty($_REQUEST['view']))
{
$_REQUEST['view'] = 'day';
}
to
if ( empty($_REQUEST['view']))
{
$_REQUEST['view'] = 'month';
}
Mike Solomon
Development Manager
Ivy Ltd
www.ivy.ltd.uk]www.ivy.ltd.uk
php version 5.2.6
MySql 5.1.59
Bookmarks