Skip to main content

Subtyping framework for Plone

Project description

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

  • Plone 2.5, Plone 3.x or Plone 4.x

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

1.2.2 (unreleased)

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

Project details


Download files

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

Source Distribution

p4a.subtyper-1.2.1.zip (51.9 kB view details)

Uploaded Source

File details

Details for the file p4a.subtyper-1.2.1.zip.

File metadata

  • Download URL: p4a.subtyper-1.2.1.zip
  • Upload date:
  • Size: 51.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for p4a.subtyper-1.2.1.zip
Algorithm Hash digest
SHA256 f27c58de2e764adc12e043ecbeca30670e2196ec9d1b712f77560894ddad4517
MD5 e64487345ec97d1428732c68501bacfd
BLAKE2b-256 cd22b2db7860f4ede1025a888e71a940eea951ae6f361f78c3791a5323cd282b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page