[Zope-CMF] Why is the news editing different from doc editing?
Tres Seaver
tseaver@palladion.com
Thu, 23 Aug 2001 14:13:09 -0400 (EDT)
On Thu, 23 Aug 2001, Frank McGeough wrote:
> Sorry it took awhile to get back to this but can you clarify "delete
> addNewsItem from the factory method"?
> Are you talking about the contentConstructors array in __init__.py in
> CMFDefault and does that mean changing the NewsItem.addNewsItem item to
> NewsItem.addDocument?
I don't mean to indicate that you should edit code -- rather, modify
the 'News Item' object in your 'portal_types', replacing the values of
its 'Factory' property (currently, 'addNewsItem', but could be
'addDocument').
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com