Calendar is Pink

ajperezcrespo wrote on Tuesday, August 16, 2005:

For some odd reason my calendar is all pink and no patient events are visible.  When I look at the events table the event is there.

Any clues?

drbowen wrote on Tuesday, August 16, 2005:

Dear Alfonso,

I have the same problem.  I broke my calender by removing the “In” flag.  All the screens turned pink and now nothing works.  I haven’t been able to fix it yet.

Sam Bowen

sunsetsystems wrote on Tuesday, August 16, 2005:

Sounds like you are missing in-office and out-of-office events.  Those are required to make appointment slots available.  Just add them, they are normally repeating events.

– Rod (http://www.sunsetsystems.com/)

ajperezcrespo wrote on Tuesday, August 16, 2005:

Ok that worked but the issue still exists on the weekly calendar.  And shouldn’t the monthly have some type of indicator on the days for which events are scheduled?

Thanks
Alfonso

sunsetsystems wrote on Tuesday, August 16, 2005:

Daily and weekly are displayed by the same code.  Are you sure they are showing the same day differently?  If so, perhaps there is some weird event that is confusing things.  Also note that all-day events did not work very well until some of my recent fixes.

I’m sure the monthly calendar needs some work.  I’ve not touched it as I have not had a client that cared about it.

– Rod (http://www.sunsetsystems.com/)

ajperezcrespo wrote on Thursday, August 18, 2005:

Heres a funnier one.  If we select the date with the pulldowns on the top and then click on GO it all goes pink, but  if we click on the arrows besides the date on the top it doesnt go pink.  When did you post those recent changes?

Thanks
Alfonso

sunsetsystems wrote on Friday, August 19, 2005:

Looks like the fix for all-day events went into interface/main/calendar/modules/PostCalendar/pnuser.php on July 1.

– Rod (http://www.sunsetsystems.com/)

nahoj1976 wrote on Sunday, August 21, 2005:

I have the same problem with this beautiful pink color. How am I supposed to fix it? I have looked around without managing to find where the problem comes from.

Another problem I have is with the month view. This error I get:

Fatal error: Using $this when not in object context in /home/httpd/html/openemr/interface/main/calendar/modules/PostCalendar/plugins/modifier.pc_date_format.php on line 27

In native code that line looks like this

require_once $this->_get_plugin_filepath(‘shared’,‘make_timestamp’);

Any hints?

nahoj1976 wrote on Sunday, August 21, 2005:

Hi again.

For convenience I work with the language-files on a laptop. But I intend to run the system on the server so just now I tried the system on the server and the calendar was just as beautiful as ever. Even the month-view shows booked events…

When testing the system through admin-calender-test this is what is running on the server (where everything is OK):
php 4.3.11
smarty 2.3.1
postcalendar 4.0.0

On the laptop this is running:
php 5.0.3
smarty 2.6.8
postcalendar 4.0.0

I know php 5.0 is a problem as said before but what about smarty?

nahoj1976 wrote on Sunday, August 21, 2005:

I found that the two users I have in the system are different. One was all pink, the other was OK. Then I looked into the database (phpMyAdmin) and they looked the same but the title for “in office” was changed so I tried to solve it manually - it didn’t work.

What I had to do was to delete the records through phpMyAdmin and then add from the calender view. The problem was I wanted to have lunch at noon but that wasn’t allowed - it was moved to 9.00 am instead. So I gave up and now I have lunch at 11.00 am instead…

But this didn’t help to get rid of the pink colour on the laptop system…

igtoth wrote on Friday, February 20, 2009:

I am having the same problem… the calendar is broken if I dont add a "IN-OFFICE" record.

Is there any fixess already for this ?

Regards,

Ighor

ideaman911 wrote on Friday, February 20, 2009:

Folks;

I urge caution on changing things in Calendar unless you know exactly what they will do.  For example, there are categories of calendar entries which are "sacrosanct".  But the cause seems to be the use of their ID within the logic.  And the "In Office" clearly states that it is reserved, and the logic forces a provider to first select THAT before selecting to add any appointments.  So you can generally set it to be as all-encompassing as possible, and then select categories for other things as you need.  They will add both to the available calendar and to the encounters categories lists.  You add them through the Admin - Calendar - Categories, and you can see there the number of possible settings.

That is the means by which I created the POS override of the facility POS code at X12 or 1500 production as noted in my writeups elsewhere in the forums.  And how this novice seems to know anything about it.

Joe Holzer

cfapress wrote on Friday, February 20, 2009:

For those who expect OpenEMR’s calendar to function like a “normal” calendar I suggest using the Outlook style. It allows the creation of events without first setting up IN/OUT of Office events.

It’s a bit more user friendly in terms of screen space and the printed views are very nice too.

The calendar view is a per-user setting and can be changed in the Admin->Users screen.

Jason