Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: /opt/zope/pik/nobel/trunk/src/nobel.theme/nobel/theme/__init__.py
===================================================================
--- /opt/zope/pik/nobel/trunk/src/nobel.theme/nobel/theme/__init__.py   (revision 125)
+++ /opt/zope/pik/nobel/trunk/src/nobel.theme/nobel/theme/__init__.py   (working copy)
@@ -1,7 +1,15 @@
 # Register our skins directory - this makes it available via portal_skins.
 from Products.CMFCore.DirectoryView import registerDirectory
+from Products.CMFCore import utils
+from Globals import package_home
 from config import GLOBALS
+from os.path import dirname
+
+parent = dirname(package_home(GLOBALS))
+ppath = utils.ProductsPath
+utils.ProductsPath.append(parent)
 registerDirectory('skins', GLOBALS)
+utils.ProductsPath = ppath
 
 
 def initialize(context):