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

Jan Mechtel jan@pc-sofa.de
Sun, 11 Nov 2001 17:04:53 +0100


>have you completed step 8, setting up a type information object?
Yes I think so, otherwise I would be able to add a content using CMF?
>at that point you should check the view filter settings in the
folder_contents view.
I'm not sure whether I got you right, where to find the "view filter
settings in the folder_contents view" I mapped the actions to the views
correctly but I can't find any settings for "folder_contents"

Thanks for your quick answer I hope you can help me further

Jan

-------------------------------
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

-----Urspr=FCngliche Nachricht-----
Von: Jens Vagelpohl [mailto:jens@zope.com]
Gesendet: Sonntag, 11. November 2001 15:49
An: Jan Mechtel
Cc: zope-cmf@zope.org
Betreff: Re: [Zope-CMF] custom CMF Content Type (FAQ Content Type)

have you completed step 8, setting up a type information object? at that
point you should check the view filter settings in the folder_contents
view.

jens


On Sunday, November 11, 2001, at 08:42 , Jan Mechtel wrote:

> 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-Folder=
s,
> although they are there as I can see them in ZMI
>
> I traced the problem =EDn folder_contents.py to the contentValues() met=
hod.
> If I use objectValues instead the objects are shown correctly
>
> The comments in the scripts say contentValues() filters the object whic=
h
> have no "ContentTypeInformation", but as my Product implements the Zcla=
ss
> "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
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and featur=
e
> requests