[Zope-CMF] Re: Installing a CMF Content Type from scratch
Tres Seaver
tseaver at palladion.com
Tue Jan 9 16:26:34 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Charlie Clark wrote:
> Am 08.01.2007 um 17:01 schrieb Tres Seaver:
>
>> Depends. If your type has any other customizations (e.g., workflows,
>> caching policies, metadata constraints, etc.) then you need to
>> tweak the
>> releavant tools, as well.
>
> It is a fairly standard document. Essentially a News Item on steroids.
>> I would recommend doing this as follows:
>>
>> - Start from a "clean" site, created via "Configured CMF Site" (so
>> that it uses the GenericSetup tool and the "baseline" profile).
>
> I am doing just that.
>
>> - Add your type information, skins, etc. and test.
>
> I think this is the bit I'm fuzzy about. Is adding the type
> information simply a question of adding a type in portal-types? If so
> I'm doing something wrong because it my type is not appearing in the
> pull-down list.
You may need to check its "globally_addable" property (the type
object's) and verify that the container into which you would like to add
an instance does not have a type-based restriction on adding (e.g., the
'filter_contents' and 'allowed_types' settings on the container's type
informatino object).
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFpAiK+gerLs4ltQ4RAp8sAJ9f0xVWGzg8zPD7JUBLnTz3GCtk6QCgrwXL
HRR9+eMTyvzVOz5hyom1jWQ=
=JCTf
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list