Skip to main content

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

Metadata

Release files for Products.PatchPloneContent 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Products.PatchPloneContent 1.0.4
File Size Uploaded
Products.PatchPloneContent-1.0.4.tar.gz 16.9 kB Details

Release files / Products.PatchPloneContent-1.0.4.tar.gz

Download URL Products.PatchPloneContent-1.0.4.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
91879f1ac25b2fde422e5b16877a0d253f4b6588a2d3ba0c2ce38f90fde9bbd9
BLAKE2b-256 checksum
How to use checksums
28a7d0ac47a3d9ac5fe845805305a3b2b6e95c4ea51107cb85d19600c04bd3d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.4 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page