--- a/src/source/howto-renderer.rst Tue Aug 14 18:26:02 2018 +0200
+++ b/src/source/howto-renderer.rst Tue Aug 14 18:27:10 2018 +0200
@@ -30,16 +30,17 @@
"""Context paragraph custom renderer"""
label = _("Custom contact renderer")
- settings_interface = IContactParagraphDefaultRendererSettings
+ #settings_interface = IContactParagraphDefaultRendererSettings
In this example, we have defined an adapter named 'custom' with :py:class:`IContactParagraph`,
:py:class:`IPyAMSLayer` as context and provides :py:class:`ISharedContentRenderer` interface.
Using ``@template_config()`` decorator, the renderer will be displayed in html container according to the template
+`templates/contact-custom.pt`
The new renderer inherit of :py:class:`ContactParagraphDefaultRenderer`, have a new **label** (line 8)
-and is associated an **settings_interface** (line 9)
+and this associated **settings_interface** is not modify(line 9)
.. tip::
@@ -47,6 +48,7 @@
It's takes the context and the new template path as params.
+
2. Create a new Renderer from scratch
-------------------------------------