Skip to main content

p4a.subtyper

p4a.subtyper is a subtyping framework for Plone. In this context, subtyping means to provide additional specific types onto existing content types. An example to standard Plone would be to have only one File content type (and no Image content type). The Image content type would then become a sub-type of the File content type.

It also exposes the possible sub-types for a given object in the content menu with a sub-types dropdown menu.

See browser/browser.txt for example usage.

Requirements

  • Version 1.2 is for Plone 2.5, Plone 3.x or Plone 4.0

  • Version 2.0 is for Plone 4.1 and up

Credits

Originally created by Rocky Burt (rocky AT serverzen DOT com – http://www.serverzen.com) on behalf of Jazkarta Inc (http://www.jazkarta.com).

Changelog

2.0 (2013-06-02)

  • Update import locations and make p4a.subtyper compatible with Plone 4.3. [thet]

1.2.3 (2012-12-10)

  • Update the catalog’s object_provides index when adding / removing subtypes. [davidblewett]

1.2.2 (2012-08-04)

  • To make the uninstall script run, I made p4a.subtyper a Zope product, so it shows up in the control panel, which is necessary to find the Extensions folder, which I added and put an uninstall script into. [regebro]

  • Uninstall now also removes the persistent component. [regebro]

1.2.1 (2012-02-10)

  • Added permissions include for Plone 4.1 compat [calvinhp]

1.2.0 (2011-02-07)

  • Added new versions of folderish_possible_descriptors and nonfolderish_possible_descriptors that do not consult the for_portal_type setting. [davidblewett]

  • Moved folderish_possible_descriptors and nonfolderish_possible_descriptors functions to a more descriptive name to reflect their true functionality: portal_typed_*. [davidblewett]

1.1.3 (2010-05-11)

  • Show the subtype-submenu only if the object actually has subtypes and you have the permission the change it. [WouterVH]

  • Avoid TypeError when checking the subtyper-view for has_possible_types, in the case that no subtypes are available. [WouterVH]

1.1.2 (2010-04-29)

  • The permissions in p4a/subtyper/configure.zcml are now changed from zope.Public to cmf.ManagePortal to prevent Anonymous subtyping [tbesluau]

  • Make sure active subtypes get the proper class in the menu even with plone.app.contentmenu 2.x [davisagli]

  • Fixed test setup for when running using zc.recipe.testrunner. [davisagli]

  • Add MANIFEST.in [WouterVH]

  • The subtypes adapter is now registered locally for Plone 3 and greater so that it does not show up in Plone sites where it is not installed. [yomatters]

1.1.1 (2009-05-03)

  • Plone4ArtistsSubtyper is no longer loaded in tests if it doesn’t exist

  • There is now an uninstall method that will remove the ISubtyped marker interface from all objects.

  • The way IDynamicallyViewable is imported has changes, so that p4a.subtyper can be used as a standalone egg.

  • Made Plone4ArtistsSubtyper setup optional.

1.1.0 (2008-07-07)

1.0.1 (2008-02-13)

  • You couldn’t unselect a subtype under Plone 2.5.

1.0 (2008-02-13)

  • First public release

Metadata

Release files for p4a.subtyper 2.0

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

Source distribution (sdist)

Source distribution for p4a.subtyper 2.0
File Size Uploaded Provenance Actions
p4a.subtyper-2.0.zip 41.5 kB Without provenance Details for p4a.subtyper-2.0.zip

Release files / p4a.subtyper-2.0.zip

Download URL p4a.subtyper-2.0.zip
Size 41.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ff9d73a18a2b874d6edb9a8621b9ac50322ecee3fba522c50021cd5e18f23f98
BLAKE2b-256 checksum
How to use checksums
e6c1a175cdc4528fb1edb3e1bd8abacf64f5a3c25f11e7fb52f2152ae55c795b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for p4a.subtyper 2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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