UNKNOWN
Project description
This product provides two Archetype fields that store and render templates. There’s the DTMLField for DTML templates and the ZPTField for ZPT templates.
Usage
Install as usual in your Products directory.
Add this line to your custom Archetype to import the fields:
from Products.TemplateFields import DTMLField, ZPTFieldIn your schema, add DTMLFields and ZPTFields like this:
BaseSchema + Schema(( ... DTMLField('oneField'), ZPTField('anotherField'), ... ))
Credits
Thanks to Sidnei da Silva for the TALESField product, which served as the base for this.
Further Information
Visit http://plone.org/products/scriptablefields for documentation, bug-reports, etc.
Copyright
2005-2007, BlueDynamics Alliance, Klein & Partner KEG, Austria
Installation
TemplateFields may be installed as either an egg or as a traditional Zope product.
Via Buildout
Just add archetypes.TemplateFields to the “eggs” list for the buildout or zope2instance parts:
- eggs =
… Products.TemplateFields …
Via easy_setup
Just use the copy of easy_setup for the Python that you’re using to run Zope.
Traditional Zope Product Installation
Copy or symbolically link the Products.TemplateFields/Products/TemplateFields to be Products/TemplateFields in your Zope instance’s Products directory.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for Products.TemplateFields-1.1.2-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 576a4555f8b8a5d6c26a691f6cdcbdc6e645dea88a5c2a1295fb7288602cd997 |
|
MD5 | 9712bdfe47052268efeeb8e21a9429cc |
|
BLAKE2b-256 | 88a878cd2f2311d2449f4e8ae95c235285f74be8cd89014d58dbe95b14ae5868 |