[Zope-CMF] addproperty to plone portal type
Dieter Maurer
dieter at handshake.de
Thu Oct 9 15:16:22 EDT 2003
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