Customizing the viewlets in main_template
This Tutorial applies to:
Plone 3.0.x
This Tutorial is intended for:
Integrators, Customizers, Developers, Advanced Developers
davconvent
All content on one page (useful for printing, presentation mode etc.)
- Introduction What this tutorial is about
- Viewlet registration in Plone 3.0 How viewlets are registered in a default Plone installation.
- Reordering and Hiding viewlets How to simply change the viewlets behavior from a Generic Setup Profile.
- Adding a viewlet How to add a viewlet and still have several skins living in peace.
- Overriding a template viewlet How to use Zope 3 technology to override a viewlet with template definition.
- Overriding a class viewlet How to use Zope 3 technology to override a viewlet with class definition.
- Moving a viewlet from a viewlet manager to another one The title says it all…
Disadvantages
You don't need to restart to make changes in page templates, but you do need to restart when you change Python or ZCML.
Advantages
I think the old method sufficiently flexible..
Does viewlets require Zope's restart?