[Zope3-checkins] CVS: Zope3/src/zope/app/preview - __init__.py:1.1.2.1 preview.pt:1.1.2.1

Philipp von Weitershausen philikon at philikon.de
Mon Feb 23 05:29:15 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/preview
In directory cvs.zope.org:/tmp/cvs-serv13324/preview

Added Files:
      Tag: philikon-movecontent-branch
	__init__.py preview.pt 
Log Message:
The zope.app.preview package now contains the 'preview.pt' template that
is used by nearly all content objects. Content objects that use it must

a) declare their dependency on zope.app.preview

b) use the following ZCML::

  <configure package="zope.app.preview">
    <browser:page name="..." template="preview.pt" ... />
  </configure>


=== Added File Zope3/src/zope/app/preview/__init__.py ===
#
# This file is necessary to make this directory a package.


=== Added File Zope3/src/zope/app/preview/preview.pt ===
<html metal:use-macro="views/standard_macros/page">
<body>
<div metal:fill-slot="body">

  <iframe src="." height="98%" width="98%"></iframe>

</div>
</body>
</html>




More information about the Zope3-Checkins mailing list