Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Various utilities to patch standard Plone content types

Project Description

PatchPloneContent is a collection of utilities, used to add or alter how standard Plone content types work using the monkeypatch technique.

Variables of interest in this module are content_types, a tuple collection of the class definitions of standard content types.

The functions of interest are content_classes_add_fields, which accepts a sequence of content classes as the first argument, and a sequence of fields to add as the second argument. As well as add_validator, which inserts validators into fields.

Should work with Plone 3 and 4, maybe 2 as well.

Note that archetypes.schemaextender is a perhaps bit more difficult product to use but more powerful.

Written by Morten W. Petersen, info@nidelven-it.no

1.0.4

Included ATBlob in content types so that patching content_classes has all standard Plone content types.

1.0.3

Added info about archetypes.schemaextender in readme.txt.

1.0.2 (2012-01-26)

Correct version number.

1.0

Added function to add validators to existing content types.

1.0

Initial release
Release History

Release History

This version
History Node

1.0.4

History Node

1.0.2

History Node

1.0.1

History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Products.PatchPloneContent-1.0.4.tar.gz (16.9 kB) Copy SHA256 Checksum SHA256 Source Jul 26, 2012

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