[CMF-checkins] CVS: CMF/CMFCalendar - README.txt:1.3 TODO.txt:1.3 __init__.py:1.4

Chris Withers chrisw@nipltd.com
Fri, 10 May 2002 11:46:18 -0400


Update of /cvs-repository/CMF/CMFCalendar
In directory cvs.zope.org:/tmp/cvs-serv7824/CMFCalendar

Modified Files:
	README.txt TODO.txt __init__.py 
Log Message:
Merging CMF Calendar work from branch.

=== CMF/CMFCalendar/README.txt 1.2 => 1.3 ===
   of the object.
 
-  At the time of this writing, this product is incomplete.  The
-  event is complete, and can stand alone, but will be
-  accompanyied by the CMFCalendar in the next release.  We wished
-  to get something out quickly, so we'll be living by the axiom:
-  'Release early; Release often' until all it's components are
-  completed.
+  The event portal_type is complete, and can be stand alone, but
+  now accompanyied by the CMFCalendar which is fully functional
+  and tested.
+
+  After installing the CMFCalendar you should notice a calendar
+  appear in your CMF.  This is fully customisable to your portals
+  needs.
 
   See the INSTALL.txt file for how to get the product installed
   within your CMF.


=== CMF/CMFCalendar/TODO.txt 1.2 => 1.3 ===
 
  o Add the calendar product itself, at rev 0.1 there is only an
-   event object.
+   event object. -- Done (Andy Dawkins - 1st May 2002)
 
  o other todo items as I think of them....


=== CMF/CMFCalendar/__init__.py 1.3 => 1.4 ===
 from Products.CMFCore.DirectoryView import registerDirectory
 import EventPermissions
+import CalendarTool
 
 import sys
 this_module = sys.modules[ __name__ ]
@@ -24,6 +25,7 @@
 contentConstructors = (Event.addEvent,)
 contentClasses = (Event.Event,)
 
+tools = ( CalendarTool.CalendarTool, )
 
 z_bases = utils.initializeBasesPhase1( contentClasses, this_module )
 
@@ -34,9 +36,12 @@
 # Make the skins available as DirectoryViews
 registerDirectory('skins', globals())
 registerDirectory('skins/calendar', globals())
-registerDirectory('skins/zpt_calendar', globals())
 
 def initialize( context ):
+    utils.ToolInit('CMFCalendar Tool', tools=tools,
+                   product_name='CMFCalendar', icon='tool.gif',
+                   ).initialize( context )
+    
     utils.initializeBasesPhase2( z_bases, context )
     context.registerHelpTitle('CMF Calendar Help')
     context.registerHelp(directory='help')