I have a strange calendar problem

liuyangyang wrote on Friday, October 24, 2008:

Hi Guys:

I have installed 2.9.0 on both Mac and Windows system, but I have a bizarre calendar problem. The Day View calendar only display a pinky red row at 8:00. There is no 9:00, 10:00 etc. I have attached the pic with this post. Can anyone help me with that?

picture link

liuyangyang wrote on Friday, October 24, 2008:

problem partially solved by adding In Office.

However, I would like to extend the office hour from 6pm to 7pm. anybody know how to do it?

omo66 wrote on Sunday, October 26, 2008:

find globals.php inside openemr/interface/

then search and edit section that control calendar office time.

liuyangyang wrote on Tuesday, October 28, 2008:

thanks omar

liuyangyang wrote on Thursday, October 30, 2008:

Hi Omar
I cannot find office time control in globals.php. Can you tell me the string? Thanks

omo66 wrote on Thursday, October 30, 2008:

openemr/interface/globals.php

// change these to reflect when the daily view should start to display times
// as well as it should end. ex schedule_start = 9 schedule_end = 17
// start end times in hours
$GLOBALS[‘schedule_start’] = 8;
$GLOBALS[‘schedule_end’] = 17;

read all this file.
There are more setting like:

// Traditionally OpenEMR has allowed creation of user groups (not the same
// as access control groups).  However this has never done anything very
// useful and creates confusion.  Make this false if you really want it.
$GLOBALS[‘disable_non_default_groups’] = true;

…and more

also read this file:
openemr/includes/config.php

here you could edit DEA on scripts…

liuyangyang wrote on Friday, October 31, 2008:

thank you so much.

I only searched "calendar" as key word