[Zope-CMF] Re: Custom metadata editing
Troy Farrell
troy@entheossoft.com
Tue, 18 Mar 2003 22:52:58 -0600
Thanks Yuppie. This helps a lot. This explains why I couldn't figure
it out :-)
So portal_metadata is a registry for my custom portal content types to
use. Neato. Thanks for the pointer to the patch.
Thanks.
Troy
Yuppie wrote:
> Hi Troy!
>
> Troy Farrell wrote:
>
>> I cannot seem to figure out how to edit the custom metadata elements
>> that the portal_metadata tool allows me to create. I've created an
>> element that I cannot reach called 'ConferenceYear'. I've tried
>>
>> item.editMetaData({'ConferenceYear':'2003'})
>> item.manage_editProperties({'ConferenceYear':'2003'})
>>
>> Do you have any ideas before I start hacking CMF sources?
>
>
> portal_metadata is just a registry. 'Add Metadata Element' adds elements
> to the Metadata Tool, *not* to your content objects!
>
> Search the list archives, there was some discussion about adding
> functionality like you expected.
>
> I don't use it, but maybe you also want to have a look at this:
> http://www.gocept.com/opensource/projects/CMF_Metadata