Using viewlets (and views) in third-party products

Wichert Akkerman wichert at
Mon Aug 27 07:40:52 UTC 2007

Previously Martin Aspeli wrote:
> Wichert Akkerman wrote:
> >Perhaps it can more generic. Basically both are instances of a 'only 
> >apply X when condition Y is satisfied'. Y in this case is either a 
> >specific skin being selected or a product being installed. Would it be 
> >possible to have a generic 'only use if feature X is here' framework in 
> >place? That could be added to plone.theme instead of creating another 
> >package that hooks into the same places as well.
> Is that an endorsement for having a generalisation of this in 
> plone.theme, and having that included in 3.0.x rather than 3.5?

No, but it is an endorsement for a 2.0 version of plone.theme which
supports that. People who need it can then use that instead of the
plone.theme that is shipped with Plone 3.0.

> Finally, we need to be cognizant of performance: this runs on each request.

That's a reason for not using yet-another pre-traversal hook.


Wichert Akkerman <wichert at>    It is simple to make things.                   It is hard to make things simple.

More information about the Product-Developers mailing list