Add all pending howtos to sphinx.
This commit is contained in:
parent
7481980c4f
commit
1781211787
@ -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):
|
||||
|
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user