[CMF-checkins] CVS: CMF - Portal.py:1.11
Martijn Pieters
mj@digiciool.com
Tue, 13 Mar 2001 17:20:39 -0500 (EST)
Update of /cvs-repository/CMF/CMFDefault
In directory korak:/tmp/cvs-serv5631/CMFDefault
Modified Files:
Portal.py
Log Message:
Fix for PTK(205)[]; remove all direct references to the skins' Images
Folder, promoting it to a regular skin path object.
Existing CMF 1.0b1 portals will have to add 'Images' to their skin paths; a
Python Script that automates this is included.
--- Updated File Portal.py in package CMF --
--- Portal.py 2001/03/04 23:01:49 1.10
+++ Portal.py 2001/03/13 22:20:09 1.11
@@ -379,12 +379,12 @@
addDirectoryViews(ps, 'skins', globals())
ps.manage_addProduct['OFSP'].manage_addFolder(id='custom')
ps.addSkinSelection('Basic',
- 'custom, content, generic, control',
- make_default=1)
+ 'custom, content, generic, control, Images',
+ make_default=1)
ps.addSkinSelection('Nouvelle',
- 'nouvelle, custom, content, generic, control')
+ 'nouvelle, custom, content, generic, control, Images')
ps.addSkinSelection('No CSS',
- 'no_css, custom, content, generic, control')
+ 'no_css, custom, content, generic, control, Images')
p.setupCurrentSkin()
def setupTypes(self, p, initial_types=factory_type_information):