[Zope3-checkins] CVS: Zope3/src/zope/app/site/browser - configure.zcml:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Mar 21 11:02:31 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/site/browser
In directory cvs.zope.org:/tmp/cvs-serv3084/src/zope/app/site/browser

Modified Files:
	configure.zcml 
Log Message:


Added tools overview configuration.


=== Zope3/src/zope/app/site/browser/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/site/browser/configure.zcml:1.2	Sat Mar 13 21:17:07 2004
+++ Zope3/src/zope/app/site/browser/configure.zcml	Sun Mar 21 11:02:31 2004
@@ -2,6 +2,20 @@
    xmlns:zope="http://namespaces.zope.org/zope"
    xmlns="http://namespaces.zope.org/browser">
 
+  <!-- Preliminary tool setup -->
+
+  <tool
+      interface="zope.app.schema.interfaces.ISchemaUtility"
+      title="Persistent, Local Schemas"
+      description="These are schemas that live in the ZODB and are modifiable."
+      />
+
+  <tool
+      interface="zope.app.cache.interfaces.ICache"
+      title="Caches"
+      description="Caches can be used to make your site run faster."
+      />
+
 <!-- SiteManagementFolder -->
 
   <addMenuItem
@@ -143,10 +157,12 @@
         title="Add service"
         action="default/AddService"
         permission="zope.ManageServices" />
-    <menuItem
+
+    <!-- Does not work -->
+    <!--menuItem
         title="Add utility"
         action="default/AddUtility"
-        permission="zope.ManageServices" />
+        permission="zope.ManageServices" /-->
 
   </menuItems>
 
@@ -225,5 +241,16 @@
     <page name="action.html" attribute="action" />
 
   </view>
+
+<!-- Tools Views -->
+
+  <page
+     name="tools.html"
+     for="zope.app.site.interfaces.ISiteManager"
+     permission="zope.ManageContent"
+     template="tools.pt"
+     menu="zmi_views" title="Tools"
+     class=".tools.ToolsOverview"
+     />
 
 </zope:configure>




More information about the Zope3-Checkins mailing list