Weekly Calendar/Agenda

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
phantomguitarist
Forum Newbie
Posts: 2
Joined: Fri Sep 19, 2008 1:47 am

Weekly Calendar/Agenda

Post by phantomguitarist »

Hi All,

Does anybody know of a good calendar/agenda script which will display events for a particular week? I can program one myself but don't want to re-invent the wheel if I don't have to!

The situation:
I need to display engineer visits on a calendar, the visits might be one day or several days and I need to see where all the engineers are for that day. If an engineer is assigned to a visit for 2 days this should be shown as one block and span the 2 dates.

I have seen something similar in Sharepoint but guessing it might be an activeX control.

Regards

PG
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: Weekly Calendar/Agenda

Post by yacahuma »

did you look for php calendar in google? there is a bunch of stuff
for example http://www.easyphpcalendar.com/demo.php
phantomguitarist
Forum Newbie
Posts: 2
Joined: Fri Sep 19, 2008 1:47 am

Re: Weekly Calendar/Agenda

Post by phantomguitarist »

I did, everyone I looked at didn't really fit the requirements. None of them handeled multiple date events the way I need them. For example, if a visit is over monday and tuesday I need this to be shown as 1 block but covering both dates i.e.

Code: Select all

 
+--------+--------+--------+--------+----------+---------+--------+
|  Mon   |  Tue   |  Wed   |  Thu   |  Fri     |   Sat   |  Sun   |
+--------+--------+--------+--------+----------+---------+--------+
| Visit1|       |       |       |       |       |       |       |
|       |       |       |       |       |       |       |       |
|       |       |Visit2 |       |       |       |       |       |
|       |       |       |       |       |       |       |       |
|       |<-- Visit 3 -->|       |       |       |       |       |
|       |       |       |       |       |       |       |       |
|       |       |       |       |       |       |       |       |
+--------+--------+--------+--------+----------+---------+--------+
Hopefully the quick diagram will explain how it needs to look. Obviously, this is a simple diagram of what it should look like but I think it explains the idea.

Regard

PG
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: Weekly Calendar/Agenda

Post by yacahuma »

One more suggestion. Have you try using google calendar. I think you can integrate the calendar into your applications.
Post Reply