Add all pending howtos to sphinx.

This commit is contained in:
tisto 2012-01-25 23:33:38 +01:00 committed by Timo Stollenwerk
parent 7481980c4f
commit 1781211787
3 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,12 @@
===============================================================================
How to make plone.app.discussion work with a dexterity content type
===============================================================================
This document explains how to make plone.app.discussion work with a custom
dexterity content type.
XXX: TODO
configure.zcml::
<browser:page
@ -8,7 +17,7 @@ configure.zcml::
permission="zope2.View"
/>
Define an interface IMyDexterityContentType groked schema, I added:
Define an interface IMyDexterityContentType groked schema, I added::
allowDiscussion = schema.Bool(
title=_(u"Allow Users to Comment"),
@ -18,7 +27,7 @@ are shown at the end of each page"),
default=True,
)
and added this class:
and added this class::
from plone.app.discussion.browser.comments import CommentsViewlet
class ConversationView(object):

View File

@ -4,3 +4,5 @@ Howto write a custom email notification
This document explains how to write a custom email notification for
plone.app.discussion.
XXX: TODO

View File

@ -6,5 +6,8 @@ Howtos
:maxdepth: 1
howto_extend_the_comment_form.txt
howto_make_pad_work_with_a_dexterity_content_type.txt
howto_override_comments_viewlet.txt
howto_override_enable_conversation.txt
howto_set_discussion_settings_with_generic_setup.txt
howto_write_a_custom_email_notification.txt