[Zope-CMF] icon ZClass in CMF

Antwan Reijnen antwan@dexus.nl
Wed, 09 Jan 2002 14:40:40 +0100


Hi,

question: I created a ZClass, derived from PortalFolder and DefaultDublincore. I assigned it a unique icon, both in the ZClass 'Basic' ZMI, and in the portal_types section.

When I add an instance from the ZMI, the icon shows up fine. But when viewed by folder_contents (member-view in portal), the default folder-icon shows up.

How come? The (python) constructor is the same as in another ZClass I created (baseclasses PortalContent and DefaultDublincore), which also has a unique icon, which works fine in the ZMI and in the portal folder_contents. The only difference is the baseclasses I derived from.

Any clues?

Thanks! Antwan.

Antwan Reijnen

DEXUS New Media
Metropole Office 
Laan van Meerdervoort 70 
2517 AN Den Haag
Tel 070-3114800 
Fax 070-3656279 
http://www.dexus.nl

DEXUS New Media maakt deel uit van de Metropole IT Group 
http://www.metropole-it.nl 

ICQ#: 7916222