Hi,
That is somewhat what I'm doing, and it is _certainly_ something that would be possible from this plugin.
"events" can be stored in the main database. I guess this would require a user to be validated, or something, to submit an event.
The events can be called with a standard "select" statement, and listed by day, or you can show a small calendar, with hot-links on each date to link to a list of events for that day.
All my plugins allow extensive template control of the formatting, since that is a _primary_ goal of my programming, ie: separating the html from the code, ie: output from data or code.
I'm looking at using Matt's caldar and Perl Cal as prototypes, but their back end is so different from Links, and don't seem to use the CPAN DateCalc module which has virtually all the functionality you need (or the perl port of Date Calc).
I'm going to try to support both, for those who can't install (compile) Date::Calc on their servers (it will be faster, as key parts are in C)
If you'd like to contribute to this, coming up with the add/submit forms and the routines to handle that would be helpful :) There is a lot that has to go on in the templates, and the "submit_event.cgi" script before it gets to the calendar. The form for Matt's calendar is a bit complex, and on too many pages for my liking. I think it needs to allow an event to be submitted/edited on one page, with a confirm page at most.
Suggestions?
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
That is somewhat what I'm doing, and it is _certainly_ something that would be possible from this plugin.
"events" can be stored in the main database. I guess this would require a user to be validated, or something, to submit an event.
The events can be called with a standard "select" statement, and listed by day, or you can show a small calendar, with hot-links on each date to link to a list of events for that day.
All my plugins allow extensive template control of the formatting, since that is a _primary_ goal of my programming, ie: separating the html from the code, ie: output from data or code.
I'm looking at using Matt's caldar and Perl Cal as prototypes, but their back end is so different from Links, and don't seem to use the CPAN DateCalc module which has virtually all the functionality you need (or the perl port of Date Calc).
I'm going to try to support both, for those who can't install (compile) Date::Calc on their servers (it will be faster, as key parts are in C)
If you'd like to contribute to this, coming up with the add/submit forms and the routines to handle that would be helpful :) There is a lot that has to go on in the templates, and the "submit_event.cgi" script before it gets to the calendar. The form for Matt's calendar is a bit complex, and on too many pages for my liking. I think it needs to allow an event to be submitted/edited on one page, with a confirm page at most.
Suggestions?
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.