From: Greg W. <we...@fa...> - 2003-07-28 21:53:52
|
Did anyone have any ideas about this? I don't know who did most of the work on the multiple calendars implementation, but I hope they can help with these issues. Also, see http://ical.gregwestin.com/phpicalendar/week.php?cal=all_calenders_combined971&getdate=20030512 (username: guest; password: tseug) for an example of the error I referred to in another e-mail. I assume everyone else sees this error, but I don't know. Greg --- http://www.gregwestin.com/ Contact info: http://www.gregwestin.com/contact.php On Tue, 1 Jul 2003, Greg Westin wrote: > I'm not sure about the best way to do this, but I think I would suggest > that headway could be made on a number of the things I mentioned by > keeping track of the components of the combined calendar(s). If > init.inc.php set an array with all the component names, then: > > -It would leave open the door for user-specified combinations > -ical_parser could look up the revision dates of each of the component > calendars and make sure none are newer than the parsed combo calendar. > That would solve the error I mentioned and would make sure the combined > calendar gets updated when any component is updated. > > I hesitate to implement any of this simply because I don't feel very > confident wading into this just yet, but this seems like a relatively > doable change to make. I'll try my hand at it later if nobody takes care > of it or has a better idea. > > Greg > --- > http://www.gregwestin.com/ > Contact info: http://www.gregwestin.com/contact.php > > On Tue, 1 Jul 2003, Greg Westin wrote: > > > Fabulous! Thank you for this great improvement. Here are my initial > > reactions (read: comments after 2 seconds): > > > > -This is a much needed improvement, and most of the work looks to be done. > > -How many calendars can this support at once? I assume there's a finite > > number of colors; if it doesn't automatically cycle through them already, > > it should. I haven't tried maxing it out by making lots of calendars or > > lots of event on the same week, but it can do three events simultaneously, > > which is enough for me. > > -It would be nice to be able to customize your combined calendars, either > > by putting them into folders, or better, by specifying various > > combinations in, say, the config.inc.php file, and/or via the admin > > interface. > > -We need to come up with some way of having the combined calendar(s) > > automatically update when the component calendars are updated. > > -I get the following error whenever I load the combined calendar: > > > > Warning: filemtime() [function.filemtime]: Stat failed for (errno=2 - No > > such file or directory) in > > /Library/WebServer/ical.gregwestin.com/phpicalendar/functions/ical_parser.php > > on line 35 > > > > Anyone else get that? It looks like it happens because ical_parser looks > > for $filename, which is the name of the calendar, which in the case of the > > combined calendar doesn't exist. I suppose we just need a special case > > there. > > > > Greg > > --- > > http://www.gregwestin.com/ > > Contact info: http://www.gregwestin.com/contact.php > > > > On Mon, 30 Jun 2003, Chad Little wrote: > > > > > Thanks to Sjoerd Bosga <sj...@es...> for providing this > > > starting point. Please test away and submit comments back to this list. > > > > > > -C > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > > _______________________________________________ > > > Phpicalendar-devel mailing list > > > Php...@li... > > > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Phpicalendar-devel mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > |