[Zope-CMF] Re: Installing a CMF Content Type from scratch

Jens Vagelpohl jens at dataflake.org
Wed Jan 10 02:52:18 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 10 Jan 2007, at 01:26, Charlie Clark wrote:

>
> Am 10.01.2007 um 01:17 schrieb Jens Vagelpohl:
>
>> I believe Tres is referring to is the "global_allow" property that  
>> you can find in the GenericSetup XML files for content types. To  
>> make a long story short: Completely forget the Plone book examples  
>> and look at the GenericSetup examples as set by _recent_ CMF  
>> versions, described by the XML files inside <product>/profiles/ 
>> default/. factory_type_information dictionaries are obsoleted by  
>> GenericSetup profiles.
>
> Thanks, I'm using CMF 2.0 from this autumn so I'm using the most  
> recent stable release. I assume CMFCalendar is a good example to  
> follow?

Yes it it. It sets up one content type (Event), adds two indices and  
metadata columns to the catalog and one tool to the portal. There's  
one additional step handled by Python code to add a policy to the  
metadata tool, which shows you how to deal with situations that are  
not covered by existing GS handlers yet.

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFpJsyRAx5nvEhZLIRAhDeAKCrGM2aMnZjskma+WAtC7DDbo5FbACgjH7p
K/Dev4djMvoF2xG+BY5R2Nc=
=KAae
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list