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

On 10 Jan 2007, at 01:01, Charlie Clark wrote:
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).

I realise I'm being somewhat obtuse about this but where do I set the globally_addable property? I've been basing my stuff on the example in the Plone book but also on CMFCalendar. My Zope Product gets installed with no errors. This is my factory_type_information

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.

jens


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

iD8DBQFFpDCPRAx5nvEhZLIRAk5MAJ0afCstmeC1uZolH1c6ZuzF/zU/sACguUJi
h2O5tZRiPnJMOOphNfSJc1Y=
=tbYp
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to