Is there a way to change the default calendar view to month rather than daily (and having to click month every time)? Thank you.
Is there a way to change the default calendar view to month rather than daily (and having to click month every time)? Thank you.
Hi
You may need to modify a source code to do this, but it's very easy.
Edit modules/Calendar/index.php, and change the line below around #49.
PHP Code:if ( empty($_REQUEST['view']))
{
// $_REQUEST['view'] = 'day';
$_REQUEST['view'] = 'month';
}
Thanks for the quick response, will do.
Worked great. For any contributing developers reading this, what would be nice is rather than hard coding the default calendar view for the site is to have it local to the user. I myself prefer month view, others may prefer daily, weekly, etc. Nothing major, just an inconvenience if the default is not what you prefer.
I'm moving this thread to Open Source as Calendars is available in Sugar OS and this may be useful to Sugar OS users (who cannot access the Customer forum).
Andy
Andy Dreisch
Vice President, Online Team
Check out our Podcasts!
Sugar University for training
Sugar Wiki for developer and user help
SugarForge for modules, themes, lang packs
SugarExchange for production-ready extensions
Enter/view bugs via the Sugar bug tracker
Thanks for this bit of info. It would be really great if this were a simple tick box in the settings somewhere!Originally Posted by ruchida
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks