Am 17.11.2009, 14:41 Uhr, schrieb yuppie <y.2...@wcm-solutions.de>:
> 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.
Zope-CMF maillist - Zope-CMF@zope.org
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests