Index: /main/waeup.kofa/branches/uli-diazo-themed/buildout-zeo.cfg
===================================================================
--- /main/waeup.kofa/branches/uli-diazo-themed/buildout-zeo.cfg	(revision 11049)
+++ /main/waeup.kofa/branches/uli-diazo-themed/buildout-zeo.cfg	(revision 11050)
@@ -13,6 +13,8 @@
     site_zcml
     zdaemon_conf
-    deploy_ini
-    debug_ini
+    raw_deploy_ini
+    raw_debug_ini
+    themed_deploy_ini
+    themed_debug_ini
     profile_ini
     zeo1_ini
@@ -23,4 +25,6 @@
 # kofactl creation must be _after_ app!
     kofactl
+    lxml
+    diazo
 # For backward compatibility, telling buildout not to throw away
 # the data and log subdirectories from the parts directory.
@@ -115,5 +119,5 @@
 # See http://pypi.python.org/pypi/zc.recipe.egg for details...
 recipe = zc.recipe.egg
-eggs = waeup.kofa [beaker]
+eggs = waeup.kofa [beaker, diazo]
 arguments = "${buildout:parts-directory}/etc/zeo1.conf"
 scripts = kofactl=zeo_client1
@@ -122,5 +126,5 @@
 # See http://pypi.python.org/pypi/zc.recipe.egg for details...
 recipe = zc.recipe.egg
-eggs = waeup.kofa [beaker]
+eggs = waeup.kofa [beaker, diazo]
 arguments = "${buildout:parts-directory}/etc/zeo2.conf"
 scripts = kofactl=zeo_client2
Index: /main/waeup.kofa/branches/uli-diazo-themed/etc/zeo1.ini.in
===================================================================
--- /main/waeup.kofa/branches/uli-diazo-themed/etc/zeo1.ini.in	(revision 11049)
+++ /main/waeup.kofa/branches/uli-diazo-themed/etc/zeo1.ini.in	(revision 11050)
@@ -80,7 +80,28 @@
 logger_name = wsgi
 
-[app:main]
+[app:zope]
 use = egg:${kofa_params:devel_pkg}
 filter-with = translogger
+
+[app:static]
+use = egg:Paste#static
+document_root = %(LAYOUT_DIR)s/static/
+
+[pipeline:default]
+pipeline = theme
+           zope
+
+[composite:main]
+use = egg:Paste#urlmap
+/static = static
+/ = default
+
+[filter:theme]
+use = egg:diazo
+rules = %(LAYOUT_DIR)s/rules.xml
+prefix = /
+doctype = <!DOCTYPE html>
+# set to true, if you want rules.xml being rebuild on each request
+debug = false
 
 [server:main]
@@ -95,2 +116,4 @@
 zope_conf = %(here)s/zope_zeo1.conf
 env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
+LAYOUT_DIR = ${buildout:directory}/layout
+STATIC_DIR = %(LAYOUT_DIR)s/static
Index: /main/waeup.kofa/branches/uli-diazo-themed/etc/zeo2.ini.in
===================================================================
--- /main/waeup.kofa/branches/uli-diazo-themed/etc/zeo2.ini.in	(revision 11049)
+++ /main/waeup.kofa/branches/uli-diazo-themed/etc/zeo2.ini.in	(revision 11050)
@@ -80,7 +80,28 @@
 logger_name = wsgi
 
-[app:main]
+[app:zope]
 use = egg:${kofa_params:devel_pkg}
 filter-with = translogger
+
+[app:static]
+use = egg:Paste#static
+document_root = %(LAYOUT_DIR)s/static
+
+[pipeline:default]
+pipeline = theme
+           zope
+
+[composite:main]
+use = egg:Paste#urlmap
+/static = static
+/ = default
+
+[filter:theme]
+use = egg:diazo
+rules = %(LAYOUT_DIR)s/rules.xml
+prefix = /
+doctype = <!DOCTYPE html>
+# set to true, if you want rules.xml being rebuild on each request
+debug = false
 
 [server:main]
@@ -95,2 +116,4 @@
 zope_conf = %(here)s/zope_zeo2.conf
 env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid2.txt
+LAYOUT_DIR = ${buildout:directory}/layout
+STATIC_DIR = %(LAYOUT_DIR)s/static
