Am 17.11.2009, 14:41 Uhr, schrieb yuppie <>:

> AFAICS we need 2 of them in DynamicType:
> icon() is part of OFS.interfaces.IItem and should return the URL
> relative to BASEPATH1. This is required to show the icons correctly in
> the ZMI.

> getIconURL() should become part of IDynamicType and return the absolute
> URL. This is the only version we need in CMF.


> getIcon() is an alias of icon() and could become deprecated. I don't
> know if it's worth the effort to mark the 'relative_to_portal' argument
> of icon() as well as deprecated.

> I already started implementing these changes.


Charlie Clark
Helmholtzstr. 20
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to