First name on calendar

cruiser01 wrote on Thursday, August 04, 2005:

The first name of  the patients are not showing up on the calendar, which module is this code in so I could add the fname. Also does anyone know if the description when making the appointment could be displayed on the calendar by the patient name .

sunsetsystems wrote on Thursday, August 04, 2005:

Suggestion: Get the current code from CVS, see $GLOBALS[‘calendar_appt_style’] in globals.php, and grep for the code that references it.

– Rod <rod at sunsetsystems dot com>

cruiser01 wrote on Friday, August 05, 2005:

I ran grep with these settings

grep -r ‘calendar_appt_style’ *

and it just listed the global.php  do I have the right options set for grep.

sunsetsystems wrote on Friday, August 05, 2005:

Hmm, works for me:

~/rod/dev/openemr/openemr$ grep -r ‘calendar_appt_style’ *
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/default.html:      if ($GLOBALS[‘calendar_appt_style’] != 1) {
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/default.html:       if ($event[‘title’] && $GLOBALS[‘calendar_appt_style’] == 3)
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/week/default.html:      if ($GLOBALS[‘calendar_appt_style’] != 1) {
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/week/default.html:       if ($event[‘title’] && $GLOBALS[‘calendar_appt_style’] == 3)
interface/globals.php:$GLOBALS[‘calendar_appt_style’] = 2;

– Rod <rod at sunsetsystems dot com>

sankar1234 wrote on Friday, August 05, 2005:

is that the right command to search in all subfolders ?  I believe we have to add some parameters to the grep command… 

cruiser01 wrote on Friday, August 05, 2005:

I have opened that file and did a search on
calendar_appt_style
there is no code in the file that references the setting in the global file. I have looked in CVS and the file that is in there is
the correct file.

sunsetsystems wrote on Friday, August 05, 2005:

Well you can check the project’s CVS web interface:

http://cvs.sourceforge.net/viewcvs.py/*checkout*/openemr/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/default.html?content-type=text%2Fplain

My guess is that you have a previous version checked out.  Try a fresh checkout.

– Rod <rod at sunsetsystems dot com>