Skip to main content

Declarative content type configuration for Archetypes.

Project description

Introduction

This package adds a declarative interface for the registration of Archetypes content classes.

Usage

Use an at:register directive to register each of your content classes.

Example configuration:

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:five="http://namespaces.zope.org/five"
    xmlns:at="http://namespaces.plone.org/archetypes">

  <five:registerPackage package="." />

  <permission id="example.Add" title="collective.example: Add example" />

  <at:register
      class=".content.Example"
      permission="example.Add"
      />

</configure>

You do not need to (and should not) call atapi.registerType on your content classes. This is done automatically by the framework.

Credits

Malthe Borch <mborch@gmail.com>

Changes

0.2 - 2011-09-14

  • Compatibility with Zope 2.13.

0.1 - 2010-12-01

  • Initial 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

archetypes.configure-0.2.tar.gz (9.1 kB view details)

Uploaded Source

File details

Details for the file archetypes.configure-0.2.tar.gz.

File metadata

File hashes

Hashes for archetypes.configure-0.2.tar.gz
Algorithm Hash digest
SHA256 0557ded3c3f0fb6a9739bd35ebadda66a76f91cf3b14e733df4bf14bd96a1a2c
MD5 559b3fe722686e1b20764ad2a58f29c5
BLAKE2b-256 858db7d84abce1be47b5d4d6c5f46cf274db6e812648cc2e30a8836a523dcc31

See more details on using hashes here.

Supported by

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