[Zope-CMF] getIcon problems ...

Doyon, Jean-Francois Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Thu, 7 Mar 2002 15:52:56 -0500


Hello,

I have a couple of custom CMFDefault content types with specific gif's =
as
icons, but for some reason, they just will NOT show up in the search
results.

   <dtml-if getIcon>
   <a href=3D"&dtml-objURL;"><img =
src=3D"&dtml-portal_url;/&dtml-getIcon;"
border=3D"0" alt=3D"[&dtml.missing-Type;]" =
title=3D"[&dtml.missing-Type;]"></a>
   </dtml-if>

This piece of code if from the built it search results page ... my =
Content
type exists and has an icon defined that exists as part of the skin. =
I've
been using this content type for a while without problem, only now I =
just
decided to change the icon from the "document_icon.gif" to one of my =
own.

the problem is that for some reason the getIcon insists on returning =
the
document icon, regardless of the content type ! And yes the content =
type is
fine and comes out ok (as per &dtml-missing-Type; ) ...

I thought maybe caching was an issue, so I restarted Zope, but nope, =
that
didn't do any good.

Anybody have any idea what's going on ?

Thanks,

Jean-Fran=E7ois Doyon
Internet Service Development and Systems Support
GeoAccess Division
Canadian Center for Remote Sensing
Natural Resources Canada
http://atlas.gc.ca
Phone: (613) 992-4902
Fax: (613) 947-2410