[Zope-CMF] Making variations of the Document portal type

Kevin Carlson khcarlso@bellsouth.net
Wed, 18 Dec 2002 12:16:47 -0500


Michael,

I have done this for several document types in CMF.  I created copies of the
Portal File type and edited their properties.  Specifically, I edited the
Meta Type and Initial View Name fields on the Properties page for the 'new'
type.

One thing to note here is that ALL of the copied types will appear as the
"Portal File" in the catalog listing.  You can query the catalog based on
the new meta type name, however.

Kevin

-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Michael LaPera
Sent: Friday, December 06, 2002 1:11 PM
To: zope-cmf@zope.org
Subject: [Zope-CMF] Making variations of the Document portal type


Hello,

I want to make some "cookie cutter" portal types, based on the
"document" portal type, that will allow me to add a few extra
properties and have slightly different skins from the main template.

Can I just duplicate the document portal_type (from the ZMI) and also
the duplicate Products/CMFDefault/Document.py and modifying it to my
needs.  I know it's not really the kosher thing to do, but creating a
full-blown product seems a little daunting at this point.

I am using Zope 2.5.1 (soon 2.6), CMF 1.3, and Plone 1.0 beta 3.

Any pointers would be appreciated.


Thanks,
Michael LaPera


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

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