[Zope-CMF] addproperty to plone portal type

Dieter Maurer dieter at handshake.de
Sun Oct 19 11:34:21 EDT 2003


Edward Muller wrote at 2003-10-16 22:12 -0500:
 > And what if you are using standard CMF?

I think "Archetypes" can be used with CMF, too.
 > 
 > On Thu, 2003-10-09 at 14:16, Dieter Maurer wrote:
 > > Marko Kruijer wrote at 2003-10-9 13:26 +0200:
 > >  > I gave created a new portal type in plone, based on a normal document.
 > >  > 
 > >  > Now I have added a metadata element name 'picture'. 
 > >  > 
 > >  > I changed the document_edit view to have a input field for 'picture'
 > >  > 
 > >  > When I now create this new type from the site I get an attribute error
 > >  > that it can't find picture.
 > >  > 
 > >  > I'm guessing that the new property is not created qwith the object but I
 > >  > can't find the script that actually creates the object.
 > > 
 > > Nowadays, you would probably use "Archetypes" to define new objects.


Dieter



More information about the Zope-CMF mailing list