[Zope-CMF] EventFolder in CMF

marc lindahl marc@bowery.com
Thu, 14 Jun 2001 23:33:42 -0400


I asked Jeff about moving this to CMF, he said it'd probably be a pain....
Have you looked at CMFEvents as a starting point for a new rewrite?

> From: "ken bolton" <kbolton@sputnik7.com>
> Date: Thu, 14 Jun 2001 14:17:32 -0400
> To: <zope-cmf@zope.org>
> Subject: [Zope-CMF] EventFolder in CMF
> 
> 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
> 
> 
> 
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests