Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install products.patchplonecontent

How to install Products.PatchPloneContent

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install products.patchplonecontent
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0.4 Available View build log
Windows (64-bit)
1.0.4 Available View build log
Mac OS X (10.5+)
1.0.4 Available View build log
Linux (32-bit)
1.0.4 Available View build log
Linux (64-bit)
1.0.4 Available View build log
 
License
GPL
Dependencies
Lastest release
version 1.0.4 on Nov 20th, 2012

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

Subscribe to package updates

Last updated Nov 20th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.