[Zope-CMF] CMFActionIcons vs. new-style actions

Martin Aspeli optilude at gmx.net
Sat Sep 13 09:45:49 EDT 2008


Jens Vagelpohl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Today I was looking at the CMFActionIcons product and wondered about a  
> few things. First of all, there's no obvious way to enable the actions  
> and include the template snippets that pull them in. Editing the  
> main_template is needed. Secondly, the new-style actions already  
> define a property to store an expression for generating a icon path,  
> but it doesn't appear to be used anywhere yet.
> 
> Question: Wouldn't it make sense to enable the new action icons  
> functionality in the various templates to show icons if an expression  
> for an icon is provided, and completely retire the CMFActionIcons  
> product?

+1 - CMFActionIcons is a bit of a nuisance these days. I never 
understood why you'd need to separate the definition of the action (in 
the ZMI or GS) from its icon.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book



More information about the Zope-CMF mailing list