This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage 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

  1. Install as usual in your Products directory or as an egg.

  2. Add this line to your custom Archetype to import the fields:

    from Products.TemplateFields import DTMLField, ZPTField
    
  3. In 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.

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.

Changelog

1.2.5 (2010-06-10)

  • ZopePageTemplate’s write method decodes the template text; make sure that we encode with UTF-8 when returning the text in getRaw. [davisagli]

1.2.4

  • 1.2.3 release was somehow botched.

1.2.3

  • Switch to Zope 3 interfaces; we’re now Plone 4 compatible. [smcmahon]

1.2.2

  • Fix typo in exception handler. [wichert]

1.2.1

  • Fix type in error handling. [ivo]

1.2

  • Add a configurable option to swallow errors generated while rendering a template field. These errors were problematic since they break catalog indexing of the object, resulting in site errors. [wichert]

1.1.3

  • Make sure to use a page template with acquisition context when validating fields. Without this context variables such as context and here were not available. [wichert]
  • Cleanup REST syntax in the documentation and add a changelog. [wichert]
Release History

Release History

1.2.5

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Products.TemplateFields-1.2.5.zip (21.2 kB) Copy SHA256 Checksum SHA256 Source Jun 10, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting