PDA

View Full Version : program interface to event manager


Daniel.McMichael
04-03-2008, 03:44 AM
I would like to build an accommodation booking site in which the events (bookings) on the calendar are automatically entered by the shopping cart. To check that client-requested bed-nights are available, I would also like to be able to query the calendar database from the booking page.

So I guess this needs a program interface to the php functions used by the event manager. Pls tell me where I can find this (preferably in some nice collected place) so that I can (i) evaluate whether what I want to do is tractable and (ii) have a reference so I can program it.

Do you know of any examples of any web sites doing this kind of thing with EPC?

Very many thanks,

Daniel.

ve9gra
04-03-2008, 07:43 AM
There is no API for EPC. You can program your own, and enter the events directly in the database.

What is the format of the database? (https://www.easyphpcalendar.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=29&nav=0,6)

You can derive the possibilities by entering a bunch of events and then studying the records in the table.

Daniel.McMichael
04-04-2008, 12:07 AM
Thank you very much.

The job of creating a clear a nicely designed interface would be much easier if the source php were available under a developer license.

I would be happy to provide my code back to Nashtech under some easygoing license such as LGPL.

Best wishes,

Daniel.