Hedley Roos wrote:
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
Sorry for replying to my own post, but as Martin stated the correct
approach is using zcml. My approach requires that you subscribe to your
folserish item's create event and then activate that interface.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers