Page 1 of 1

Customization to Calendar

PostPosted: Mon Apr 28, 2008 5:23 pm
by jayatpeoplewhothink
Hi there,

I would like to customize the calendar to show the project associated with a appointment or phase. Any help you could provide would be great. I've edited it to remove the contact but now want to add the project name.

Thanks,

Jay

PostPosted: Mon Apr 28, 2008 11:04 pm
by John Sindelar
Hi Jay,

I believe you're using SeedCode Pro Complete and that one already shows the project name associated with an appointment, so I must be misunderstanding your question. Can you give us some more details about what you're trying to do.

Thanks.

PostPosted: Tue Apr 29, 2008 6:27 am
by jayatpeoplewhothink
No. Mine is showing Appt Title & Appt Details but not the Project Name associated with it. I'm specifically speaking about the Schedule.

http://peoplewhothink.com/downloads/see ... odepic.png

PostPosted: Tue Apr 29, 2008 6:37 am
by John Sindelar
Ah, the Schedule tab. Of course.

So the text visible on the screen shot you sent (thanks for that!) is controlled by the ApptTitleDisplayCalc field in the Appointments table. Edit that field's definition, replacing this:

Code: Select all
ApptTitle &


With this:

Code: Select all
ApptTitle &

if ( not isempty ( CalDailyApptProjects::ProjectName ) ; CalDailyApptProjects::ProjectName & ¶ ) &


Hope that helps.

PostPosted: Tue Apr 29, 2008 10:14 am
by jayatpeoplewhothink
That worked, except it's not putting the project name if there is a phase associated. it's just putting the phase. can we put both?

Thanks a million. Love the software!

PostPosted: Tue Apr 29, 2008 10:19 am
by John Sindelar
Glad to hear it!

So the technique above exposes any project field to you for use: if you want the Name and Phase, use CalDailyApptProjects::z_ProjectNameAndPhaseDisplayCalc in place of CalDailyApptProjects::ProjectName above.

Enjoy!

PostPosted: Tue Apr 29, 2008 1:36 pm
by jayatpeoplewhothink
that worked. thanks.