Gmane
Favicon
From: Jeff Kowalczyk <jtk <at> yahoo.com>
Subject: [calendaring] Display only contained or sub-contained events
Newsgroups: gmane.comp.web.zope.plone.calendaring
Date: 2004-07-18 07:14:16 GMT (4 years, 19 weeks, 5 days and 2 minutes ago)
I'd like to modify Calendaring to display only events at a certain path
depth. I can see that model/_base.py's function _ongoingevents is probably
the place to do it.

There would probably be three distinct modes added to the edit screen:

1) only events in, or in containers below this calendar container.

2) like 1, but also events in or below sibling containers (at same level
as this calendar container.

3) present functionality, all catalog results within the date range.

Obviously, this is to achieve nested individual calendars, feeding one or
more 'aggregated calendars' higher up in the path hierarchy. It seems
simpler than adding ad-hoc filtering for all possible combinations of
event container paths.

Can anyone suggest the portal_catalog query parameters to do 1 and 2? Or
should it be some form of restricted traverse? Thanks.

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click