Change default view for calendar events

aunea wrote on Monday, February 21, 2011:

Hello.

I want to change the default view of the information of the events of the calendar. At this moment, I need to create a new patient if I want to view the name of him, but I want change this, and allow to view other fields like Comments or Title.

How can I do this??

Thank you very much!!!

visolveemr wrote on Tuesday, February 22, 2011:

Hi

I suppose, you are specifying about the new event/new patient from the calendar.  By default, the event category is assumed as the title and shown in the calendar.  You need to do minor code modification to show the title.

Also, for the comments, currently it is shown only for the ‘reserved’ category.  With minor code modification (accepting all categories), you can show the comments for all the categories.

Hope this helps.

Thanks
ViCarePlus Team,
www.vicareplus.com
services@vicareplus.com

aunea wrote on Tuesday, February 22, 2011:

Hi.

Thank you for your reply.

Can you say me in which files must I have to change the code?

Yesterday I was reviewing the files of the interface folder, but I didn’t find the code that control this aspect.

Thank you again!

visolveemr wrote on Tuesday, February 22, 2011:

Hi

You need to work with the files in  /interface/main/calendar/modules/PostCalendar/pntemplates/default/views/ or or directory for modifying the daily/monthly/weekly calendar and especially ajax_template.html file

Hope this helps.

Thanks
ViCarePlus Team
www.vicareplus.com