[Zope-Checkins] CVS: Packages/OFS/dtml - product_examples.dtml:1.1.2.1

Evan Simpson evan@zope.com
Tue, 13 Nov 2001 14:39:02 -0500


Update of /cvs-repository/Packages/OFS/dtml
In directory cvs.zope.org:/tmp/cvs-serv25062/OFS/dtml

Added Files:
      Tag: evan-examples-branch
	product_examples.dtml 
Log Message:
Make formerly reserved objects in the root into shadow objects that are
available even when deleted, and are re-created at startup.

Add standard_template.pt for ZPT.

Add "Examples..." to add lists, which scans for Products with 'examples'
directories with a 'index.xml' manifest file.  See Products/PageTemplates
for an example of this.


=== Added File Packages/OFS/dtml/product_examples.dtml ===
<dtml-var manage_page_header>
<dtml-var manage_tabs>

<p class="form-help">
These are examples provided by product authors.  They may create
example objects in the current folder, so make sure that you are
in a folder where this isn't a problem.
</p>

<table cellpadding="2" cellspacing="0" border="0" width="100%">

<dtml-in examples prefix="product">
  <dtml-in sequence-item mapping>
<tr class="section-bar">
  <td align="left" valign="top">
  <a class="form-label" 
     href="&dtml-URL;?example=&dtml-product_key;.&dtml-name;"
  >&dtml-product_key; &dtml-name;</a>
  </td>
</tr>
<tr>
  <td align="left" valign="top" class="form-text">
  &dtml.-description;
  </td>
</tr>
  </dtml-in>
</dtml-in>

</table>

<dtml-var manage_page_footer>