"Fancy" Calendar

nehd wrote on Monday, February 28, 2011:

How well-maintained is the “Fancy” calendar layout? It seems most people just use the “Outlook” calendar, so I was wondering if there were any problems with the Fancy layout I should know about before I attempt to modify it.

My intent is to make changes to one of the calendar layouts so that it displays more information. The people working the office at my clinic would like to see the patient phone number displayed (and possibly a couple more fields in the future). I’m leaning towards using Fancy now because I like how it hides the provider and date pickers and takes up the full page. Seems like there’s a lot of wasted space left of the calendar in the Outlook layout.

I do hate the print view for the Fancy calendar, but I think I may replace that with the standard Fancy view with the “scrolling” attribute removed from the div so the entire day is printable. That’s a bit long considering how large the time blocks are in Fancy, but if it isn’t too much trouble and there’s a lot of wasted space, I might end up modifying the size of the blocks too.

sunsetsystems wrote on Monday, February 28, 2011:

Thanks for taking an interest in improving the calendar!  Just a couple of general comments.

Do strive for consistency of features across the 3 calendar styles… don’t modify just one unless the modification really is just about that style.

The original style is the most compact, be sure to consider that one also.

And be aware that a need to “modify a size” is usually a symptom of a design flaw.  Sizes of visual components that are not images should usually not be expressed in pixels; they should be a percentage of something, or proportionate to a font size, or user-selectable.

Rod
www.sunsetsystems.com

wizard353 wrote on Saturday, July 12, 2014:

May I ask where the code for the “Fancy calendar” items is contained?

My staff finds that option the most useful, but since I am the only practitioner in the office, having my name on each entry is superfluous, as are a couple of the other fields.

I figure the customization would be easiest If I just comment out the unneeded display lines. A search with Agent Ransack finds the string “fancy” in about 185 files, so it would take me quite a while to find which file has the code to change.

Thanks,

Dave

yehster wrote on Saturday, July 12, 2014:

https://github.com/openemr/openemr/blob/master/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/fancy_template.html