From: Don S. <do...@se...> - 2002-10-27 02:55:30
|
I'd like to so something similar, but with a schedule for a sports team. Basically keep each game data in the database, but insert the games as events into the calendar mod as well. Thanks for reminding me. Don. On 27 Oct 2002, Philip McAllister wrote: > I'm planning on an overhaul of my gig listing module for 0.9 since I've > had quite a bit of feedback about new features people would like to see. > > Two of the features are: > > 1) for the gigs to be listed in the calendar > 2) For users to be able to add comments to a gig > > Which leads me nicely to my questions. > > I guess the first ones are mainly for Matt: > > Is there an easy interface in the calendar code I could call from my > module to add an event? > > If so, is it likely to remain a stable interface for the foreseeable > future? > > Ideally I'd want to be able to include a file that contains the relevant > function or class, pass a set of values to the function and receive back > a success or fail flag, and if fail a list of errors. > > If it's not something you currently support or see yourself wanting to > support, let me know, I may well have a hack at it after I've finished > coding the bulk of the mod rewrite (could be a while since I have 2 jobs > now :-( ) > > The second question is about comments. I ideally want to be able to add > the same comment functionality to a gig as is attached to an article or > a poll without having to reinvent the wheel. > > Any pointers or advice on this one? > > Phil > |