[Zope3-checkins] CVS: Zope3/src/zope/app/zptpage/browser -
configure.zcml:1.1.2.2
Philipp von Weitershausen
philikon at philikon.de
Mon Feb 23 06:06:35 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/zptpage/browser
In directory cvs.zope.org:/tmp/cvs-serv20799/zptpage/browser
Modified Files:
Tag: philikon-movecontent-branch
configure.zcml
Log Message:
* Extend comment that modulealias is just a temporary solution.
* Add description to menu item.
=== Zope3/src/zope/app/zptpage/browser/configure.zcml 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/zptpage/browser/configure.zcml:1.1.2.1 Fri Feb 20 14:43:47 2004
+++ Zope3/src/zope/app/zptpage/browser/configure.zcml Mon Feb 23 06:06:34 2004
@@ -23,6 +23,7 @@
<browser:addMenuItem
class="zope.app.zptpage.ZPTPage"
title="Templated Page"
+ description="A simple, content-based Page Template"
permission="zope.ManageContent"
view="zope.app.zptpage.ZPTPage"
/>
@@ -56,18 +57,23 @@
menu="zmi_views" title="Inline Code"
/>
- <!--browser:page
- for="zope.app.zptpage.interfaces.IZPTPage"
- name="preview.html"
- menu="zmi_views" title="Preview"
- template="preview.pt"
- permission="zope.ManageContent"
- /-->
-
<browser:icon
name="zmi_icon"
for="zope.app.zptpage.interfaces.IZPTPage"
file="zpt.gif"
/>
+
+
+ <!-- Preview view - requires zope.app.preview -->
+
+ <configure package="zope.app.preview">
+ <browser:page
+ for="zope.app.zptpage.interfaces.IZPTPage"
+ name="preview.html"
+ template="preview.pt"
+ permission="zope.ManageContent"
+ menu="zmi_views" title="Preview"
+ />
+ </configure>
</configure>
More information about the Zope3-Checkins
mailing list