[Zope-CMF] custom CMF Content Type (FAQ Content Type)

Jan Mechtel jan@pc-sofa.de
Sun, 11 Nov 2001 14:42:48 +0100


Hi,
I followed the "howto" of tseaver
(http://cmf.zope.org/CMF/Members/tseaver/how_tos/faq_howto)
and managed to set up a product view and edit it.
But the problem is that users can't see the objects in their CMF-Folders,
although they are there as I can see them in ZMI

I traced the problem =EDn folder_contents.py to the contentValues() metho=
d.
If I use objectValues instead the objects are shown correctly

The comments in the scripts say contentValues() filters the object which
have no "ContentTypeInformation", but as my Product implements the Zclass
"PortalType" it should provide it?

I'll provide more details if needed.

Hope somebody can give me a hint.

Jan Mechtel
-------------------------------
pc-sofa
jan@pc-sofa.de
Telefon: +49 (0)30 21469659
Fax:     +49 (0)89 244341516
Oschatzer Ring 28
12627 Berlin
Germany

www.pc-sofa.de