[Zope-CVS] CVS: Products3/RotterdamSprint - configure.zcml:1.6 template.pt:1.6

runyaga runyaga@thisbox.com
Wed, 4 Dec 2002 07:22:21 -0500


Update of /cvs-repository/Products3/RotterdamSprint
In directory cvs.zope.org:/tmp/cvs-serv17594

Modified Files:
	configure.zcml template.pt 
Log Message:
make the rotterdam layer work.. it hobbles



=== Products3/RotterdamSprint/configure.zcml 1.5 => 1.6 ===
--- Products3/RotterdamSprint/configure.zcml:1.5	Wed Dec  4 04:44:14 2002
+++ Products3/RotterdamSprint/configure.zcml	Wed Dec  4 07:22:21 2002
@@ -14,12 +14,18 @@
     permission="Zope.View"
     template="template.pt"
     layer="rotterdam" />
-
-  <browser:view
-   for="Zope.App.OFS.Container.IContainer.IReadContainer"
-   permission="Zope.View"
-   factory=".XmlObjectView.">
-   <browser:page name="children.xml" attribute="children" />
-  </browser:view>
 
-</zopeConfigure>
\ No newline at end of file
+<browser:view
+   for="Zope.App.OFS.Container.IContainer.IReadContainer"
+   permission="Zope.View"
+   factory=".XmlObjectView.">
+   <browser:page name="children.xml" attribute="children" />
+  </browser:view>
+
+<!-- below overrides the standard_macros by Rotterdam Skin -->
+<browser:view name="view_macros"
+              permission="Zope.View"
+              layer="rotterdam"
+              template="template.pt" />
+
+</zopeConfigure>


=== Products3/RotterdamSprint/template.pt 1.5 => 1.6 ===
--- Products3/RotterdamSprint/template.pt:1.5	Wed Dec  4 05:22:24 2002
+++ Products3/RotterdamSprint/template.pt	Wed Dec  4 07:22:21 2002
@@ -2,9 +2,10 @@
 <html
   xmlns="http://www.w3.org/1999/xhtml"
   xml:lang="en"
-  lang="en" >
-  <head>
-    <title>Z3 UI</title>
+  lang="en" 
+  metal:define-macro="page">
+  <head metal:define-macro="head">
+    <title metal:define-slot="title">Z3 UI</title>
 
     <style type="text/css" media="all"
       tal:content="string:
@@ -56,7 +57,8 @@
     </div>
 
 
-    <div id="content">
+    <div id="content"
+         metal:define-slot="body">
 
       <div class="itemViews" metal:define-macro="zmi_tabs">
         <tal:block repeat="view views/standard_macros/getZMIViews">
@@ -135,4 +137,4 @@
 
 
   </body>
-</html>
\ No newline at end of file
+</html>