[Zope-CMF] EventFolder in CMF

ken bolton kbolton@sputnik7.com
Thu, 14 Jun 2001 14:17:32 -0400


Hi all,

I've been playing with the EventFolder Product by Jeff Sasmor. Its
successfully installed, and very functional. I've got a folder of Room
Schedules for scheduling, you guessed it, room usage.

What I want to do next is to make it so that users in a certain folder can
add EventFolders. I made a python script (based on the portal poll
tutorial - love that thing!) that instantiates an EventFolder and created a
portal_type for called Calendar. I can add a Calendar and create the event
from what I've done thus far. However, I get bigtime errors when I try to
view the render or the management screens. Render and Manage return:
Error type: AttributeError
Error value: Catalog

the former on <dtml-var "renderMonth(ddate,smeth,titleFgColor, titleBgColor,
prefix, title,
bodyFgColor,bodyBgColor,todayFgColor,todayBgColor,headingFgColor,headingBgCo
lor, 'showyear' , moderated)">

the latter on <dtml-let  results="wrapSearchResults(args,subjsort,revu)" >

So I added a whole bunch of lines from the EventFolder_add to my python
script that look like they create the catalog and its fields. Nothing doing.
I plan on posting the solution to this problem to zopelabs.com, and would
love some help with this sticky wicket.

one love,
Ken