[CMF-checkins] CVS: CMF - __init__.py:1.6
Jeffrey Shell
jeffrey@digicool.com
Mon, 26 Mar 2001 16:52:22 -0500 (EST)
Update of /cvs-repository/CMF/CMFTopic
In directory korak:/home/jeffrey/InstanceHomes/cmf-dev/CMF/CMFTopic
Modified Files:
__init__.py
Log Message:
Added installation script (external method) for CMFTopic
--- Updated File __init__.py in package CMF --
--- __init__.py 2001/03/01 16:59:05 1.5
+++ __init__.py 2001/03/26 21:52:21 1.6
@@ -103,8 +103,12 @@
for base in bases:
createZClassForBase( base, this_module )
+# This is used by a script (external method) that can be run
+# to set up Topics in an existing CMF Site instance.
+topic_globals=globals()
# Make the skins available as DirectoryViews
+registerDirectory('skins', globals())
registerDirectory('skins/topic', globals())
def initialize( context ):