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

Wichert Akkerman wichert at wiggy.net
Sun Sep 14 00:35:51 EDT 2008


Previously Martin Aspeli wrote:
> 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.

Easier customization - no need to let people touch the action itself?

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Zope-CMF mailing list