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

Braun Brelin bbrelin@openapp.biz
Thu, 22 May 2003 18:48:08 +0100


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"?


Braun Brelin

Quoting Yuppie <schubbe@web.de>:

> Braun Brelin wrote:
> > I'm trying to figure out how to change the defalt portal type for files
> that are
> > ftp'ed to Zope.  Currently, the default portal type for all files being
> ftp'd up
> > is the "File" portal type.  How can I change things so that I can either:
> > 
> > 1.  Change the default type on the fly or,
> > 
> > 2.  Change it manually before doing mass uploads?
> Have a look at the 'Content Type Registry' (content_type_registry in 
> your site root).
> Cheers,
> Yuppie
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
> See http://collector.zope.org/CMF for bug reports and feature requests

This mail sent through IMP: http://horde.org/imp/