Hi Charlie!

Charlie Clark wrote:
One thing I haven't quite sussed: my products are still registered using ContentType.addContentType function but I notice that the CMF Default types make use of zope.component.factory and seem to register factories somewhere, ie. cmf.document

I haven't been able to recreate this behaviour myself despite invoking a factory.

Did you register your factory as utility? Did you make sure 'product' is empty in your type info?

Do I need to create my own namespace to register content types or can I insert them in the cmf one?

The only reason a namespace is used is to make sure identifiers are unique. If you use your own namespace, you don't have to care about utility names used by other products.

HTH,

        Yuppie

_______________________________________________
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