[Zope-CMF] Re: Installing a CMF Content Type from scratch

Tres Seaver tseaver at palladion.com
Mon Jan 8 11:01:22 EST 2007


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

Charlie Clark wrote:
> Hi,
> 
> I'm working on a new content type for the CMF. I've got it working as  
> a Zope Product and can add instances of it through the ZMI but I need  
> to register for my CMF site. I've been looking at the way Andy McKay  
> does this in his Plone book but this seems to rely on some Plone  
> magic (an install product function in the Plone control panel) which  
> I don't have. I assume I should be able to do everything I need  
> through the portal_types and add a file system directory view for the  
> skins folder. Is this correct? Is anything else required?

Depends.  If your type has any other customizations (e.g., workflows,
caching policies, metadata constraints, etc.) then you need to tweak the
releavant tools, as well.

I would recommend doing this as follows:

  - Start from a "clean" site, created via "Configured CMF Site" (so
    that it uses the GenericSetup tool and the "baseline" profile).

  - Add your type information, skins, etc. and test.

  - Once everything works, visit the 'portal_setup' tool and create
    a new snapshot.

  - Compare that snapshot against the "initial_configuration" one,
    to review your changes.



Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFomrS+gerLs4ltQ4RAl77AKDCTYVP3adCX2W9/TZeehSIwVBxMACfVuYi
QOPFldJ50fdpVsBKj9qHUW8=
=jw3H
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list