Discussion
Can I start here? Thanks. Looks a fun product: would like to specify colours, and I'm having fun specifying an earlier time as second time.
jdavid: the test web page is only a toy to show what the Timetable
tag can do, and if you look at the source you'll see how
it's done, pay special attention to the dtml-timetable
code.
It's possible to specify the color of each cell individually,
perhaps I'll improve the toy to show it.
WebMaven: It would be nice if this supported events that spanned dates.
jdavid: this product is only a DTML tag to render complex timetables. But I'll develop a product that stores events described with complex expressions (it'll support events that spanned dates) and with a nice interface; it'll depend on the Calendar and Timetable tags to render calendars and timetables. The product will be useful alone, but also will be easy to embed in other bigger applications.
PeterBe: Good use perhaps put it doesn't work for me.
I tried to add a reservation Wednesday between 10 to 12 on the dummy page. I got this traceback.
Traceback (innermost last):
File /usr/lib/zope/lib/python/ZPublisher?/Publish.py, line 171, in publish
File /usr/lib/zope/lib/python/ZPublisher?/mapply.py, line 160, in mapply
(Object: addReservation)
File /usr/lib/zope/lib/python/ZPublisher?/Publish.py, line 112, in call_object
(Object: addReservation)
File /usr/lib/zope/lib/python/Products/PythonMethod?/PythonMethod?.py, line 168, in __call__
(Object: addReservation)
(Info: ((, wednesday
, 10:00
, 12:00
, Peter Is Pushing It
,