src/source/howto-renderer.rst
branchdoc-dc
changeset 97 9783741e866d
parent 92 7fc18ab1b5b4
child 104 942151432421
--- 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
 -------------------------------------