[Zope-CMF] Re: How to change default portal type

Yuppie schubbe@web.de
Thu, 22 May 2003 20:15:39 +0200


Braun Brelin wrote:
> Thanks for that.  Am I correct in thinking that the "minor" field in the content
> type registry's ZMI form is the file's extension?  I.e. if I have a portal type
> called "myfile" and I want to add that to the content type registry so that any
> files with .myf are brought in as myfile portal types, the minor field would
> then be set to "myf"?

No. You need to add an 'extension' predicate to do that. There you have 
an "Extensions" field.

major_minor is for the mime type.

Cheers,

Yuppie