diff -r de025ff8ba30 -r 92e33e6b9e92 src/source/howto-portlet.rst --- a/src/source/howto-portlet.rst Fri May 18 11:33:19 2018 +0200 +++ b/src/source/howto-portlet.rst Wed May 23 14:24:30 2018 +0200 @@ -160,9 +160,14 @@ .. code-block:: python @adapter_config(name='another-renderer', - context=(IPortalContext, IPyAMSLayer, Interface, INewPortletSettings), provides=IPortletRenderer) + context=(IPortalContext, IPyAMSLayer, Interface, INewPortletSettings), + provides=IPortletRenderer) @template_config(template='my-portlet-render-2.pt', layer=IPyAMSLayer) class AnotherNewPortletRenderer(PortletRenderer): """Another new portlet renderer""" label = _("Another comment renderer") + +.. tip:: + You can use an other template without create a new renderer component, + with :py:func:`pyams_utils` to override the default template with you own.