Newbie - how to customize

rdh61 wrote on Wednesday, December 09, 2009:

I am new to all this. I am a sole practitioner with OpenEMR installed with Linix Mint 7 Main. There are certain things in my installation that I need to customize. For example my calendar goes from 8:00 am to 5:45 pm with 15 minute appointment intervals. I need it to go from 8:00 am to 7:30 pm with 1 hour intervals. How do I change this? Any answers step-by-step in baby-speak would be appreciated. Thanks.

ideaman911 wrote on Wednesday, December 09, 2009:

rdh61;

Simple.  You need to edit the file …/openemr/interface/globals.php with a compatible editor.  Assuming you are using ver 3.1.0 it will be near line 325, and you will actually change the value for $GLOBALS  to 20 (I am sorry for the butchery in the Sourceforge text, I cannot make it display properly, but you can see the correct code in the file, and only whole hours are available, and in any case, if the interval will be 60 minutes, you want that to go to 8 PM), and change the value for ‘calendar_interval’ below that to 60.  Save that, then you must restart and re-login.  Voila’

Joe Holzer    Idea Man    315-622-9241     im@holzerent.com
http://www.holzerent.com

rdh61 wrote on Wednesday, December 09, 2009:

Thanks ideaman911, that worked a treat. Can I customize any aspect of the interface by editing the same file?

penguin8r wrote on Wednesday, December 09, 2009:

You can change the calendar appearance by modifying the user’s Calendar UI settings in Admin->Users.  Beyond that you’d probably have to modify some code depending upon what kind of customization you have in mind.