Your post reminded me of a bit of code I have lying somewhere. Basically I wanted to activate a calendar on a particular folder.

from p4a.calendar.interfaces import ICalendarConfig
config = ICalendarConfig(folder)
config.calendar_activated = True
folder.reindexObject()

IIRC you can then do http://server/folder/@@month.

HTH
Hedley


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to