How can I configure the calendar "day" to show from 6am to midnight? All it shows now is 8 am until 6 pm. I looked all over for that setting and can't find it.
Thanks.
Al
How can I configure the calendar "day" to show from 6am to midnight? All it shows now is 8 am until 6 pm. I looked all over for that setting and can't find it.
Thanks.
Al
It is set in Calendar.phpOriginally Posted by al3
Look at
function get_start_slice_idx() & function get_end_slice_idx()
Mike Solomon
Development Manager
Ivy Ltd
www.ivy.ltd.uk]www.ivy.ltd.uk
php version 5.2.6
MySql 5.1.59
Those default settings are in <sugar-root>/modules/Calendar/Calendar.php with the variables $start_at and $end_at.Originally Posted by al3
What do you think the cookie monster eats ?
Correct me if I'm wrong but the next update will wipe out any changes I make to calendar.php, right?Originally Posted by DragonflyMaster
Thanks,
Al
Yes, that's correct.Originally Posted by al3
...Unless you find an upgrade-safe way to override these settings.
What do you think the cookie monster eats ?
not necessarilyOriginally Posted by al3
It depends if changes have been made to calendar.php
I keep a document with all changes I make to core files
Then when upgrading check if any of my files have been overwritten - not perfect but it works![]()
Mike Solomon
Development Manager
Ivy Ltd
www.ivy.ltd.uk]www.ivy.ltd.uk
php version 5.2.6
MySql 5.1.59
That's a good method, but not one I want to follow. The correct "fix" is to make this a config option on the admin screen. Is there a way to ask for new things like this?Originally Posted by mikesolomon
A
I think you have already found the right place to ask this, in Feature Requests forum.Originally Posted by al3
What do you think the cookie monster eats ?
Couldn't this be set up in a logic hook that sets/overrides the start end variables? As in using the after-retrieve?
This would make it upgrade safe as the logic hook is int he custom directory.
Paris
Hi Paris,Originally Posted by ptemplin7
could you explain better your idea?
What do you think the cookie monster eats ?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks