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>
Changelog
0.1 - 2010-12-01
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file archetypes.configure-0.1.tar.gz
.
File metadata
- Download URL: archetypes.configure-0.1.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d7d40e8322885983b730e3602a4e87b937a00a0f70317f784fc09176393b0c |
|
MD5 | e755ae55574951a4dd51f03be34067e6 |
|
BLAKE2b-256 | 01de3223216449730e136d6c6d21354d763c4e27f1408757dbb56cf0d6f23ffc |