[CMF-checkins] CVS: Products/CMFDefault - setuphandlers.py:1.2

Yvo Schubbe y.2004_ at wcm-solutions.de
Sun Nov 21 12:04:26 EST 2004


Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv12079/CMFDefault

Modified Files:
	setuphandlers.py 
Log Message:
- made sure a 'custom' skin folder is added


=== Products/CMFDefault/setuphandlers.py 1.1 => 1.2 ===
--- Products/CMFDefault/setuphandlers.py:1.1	Thu Nov 18 12:35:03 2004
+++ Products/CMFDefault/setuphandlers.py	Sun Nov 21 12:04:26 2004
@@ -15,6 +15,8 @@
 $Id$
 """
 
+from Products.CMFCore.utils import getToolByName
+
 from Portal import PortalGenerator
 
 
@@ -35,6 +37,10 @@
         addCMFUidTool('Unique Id Annotation Tool', None)
         addCMFUidTool('Unique Id Generator Tool', None)
         addCMFUidTool('Unique Id Handler Tool', None)
+
+    # add custom skin folder
+    stool = getToolByName(site, 'portal_skins')
+    stool.manage_addProduct['OFSP'].manage_addFolder(id='custom')
 
     gen = PortalGenerator()
     gen.setupMailHost(site)



More information about the CMF-checkins mailing list