From: Bill F. <fe...@re...> - 2002-12-01 20:54:24
|
Check out http://irg.attlabs.net/~fenner/test/phpicalendar/email.php?cal=School&date=20021202&time=1030&uid=3805D39E-F1C7-11D6-A283-0050E4E60429 Since I am a programmer and not a web designer, it looks pretty awful, but it tries to pick out the right bits of the ical source file to send via email to the email address of your choice. That's a sample event; the 3 arguments are the 3 indexes to master_array[]. You should be able to select any event from any of the sample calendars with the right 3 arguments. Normal events work, todos don't work yet. What I'd like to do is to change event.php so that instead of being told all the useful info about the event, it gets passed the calendar, date, time and uid -- that way it can grab the right stuff out of the master_array to display, plus it can know those bits to pass them along to email.php so there can be an "email this event" link from the event.php popup . This would change, e.g. href="javascript:openEventInfo('First%2BAid%2B%2526%2BCPR', 'School', '10:30 AM', '11:30 AM', '')" to href="javascript:openEventInfo('School','20021202','1030','3805D39E-F1C7-11D6-A283-0050E4E60429')" and event.php would return the right values from $master_array instead of just returning what it was passed in. What do you think? Bill |