# Comment system for Blog details page

**URL:** <https://community.bloomreach.com/t/comment-system-for-blog-details-page/419>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [September 18, 2018, 9:47am UTC](https://community.bloomreach.com/t/comment-system-for-blog-details-page/419 "2018-09-18T09:47:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amit\_Kumar](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@Amit\_Kumar](https://community.bloomreach.com/u/Amit_Kumar)\
**Post date:** [September 18, 2018, 9:47am UTC](https://community.bloomreach.com/t/comment-system-for-blog-details-page/419/1 "2018-09-18T09:47:18Z")

</div>

Hi Team,

I was going through some plugins on hippo forge but I didn’t find any plugin or resource or documentation on adding a **comment system functionality for a Blog post**.

**Say For Example, I have one blog post with name “Happy Life with Better Understanding”. Now I want to add a commenting system for my user, so that they can comment using the comment form and they can also read earlier comments on that article made by others.**

Please Suggest, how can i implement this commenting system for blog post.

Thanks,  
Amit

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [September 18, 2018, 10:50am UTC](https://community.bloomreach.com/t/comment-system-for-blog-details-page/419/2 "2018-09-18T10:50:31Z")

</div>

I don’t think we have a plugin, but it is not very difficult to create a component which handles this. AN example how to create comment document can be seen here:

> **[components/src/main/java/org/hippoecm/hst/demo/components/Detail.java ·...](https://code.onehippo.org/cms-community/hippo-testsuite/blob/hippo-testsuite-4.3.0/components/src/main/java/org/hippoecm/hst/demo/components/Detail.java)**
>
> Hippo CMS / BloomReach Experience

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [September 20, 2018, 9:29am UTC](https://community.bloomreach.com/t/comment-system-for-blog-details-page/419/3 "2018-09-20T09:29:47Z")

</div>

You want to think carefully about your requirements first. Are comments moderated? Is that moderation before publishing or after? Do you need to export this? What format? Do you need to be able to lock comments? Should comments be searchable? Are comments from registered users? Do you allow anonymous comments? It may well be worth integrating with a third party system for comments if the requirements get complex.

---

<div class="post-metadata">

**Author:** ![Amit\_Kumar](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@Amit\_Kumar](https://community.bloomreach.com/u/Amit_Kumar)\
**Post date:** [October 3, 2018, 11:06am UTC](https://community.bloomreach.com/t/comment-system-for-blog-details-page/419/4 "2018-10-03T11:06:48Z")

</div>

Hi jasper.floor,

Thanks for reply, yes My requirement is pretty simple with below criteria:

Are comments moderated?  
**Yes**  
Is that moderation before publishing or after?  
**Before publishing**

Do you need to export this?  
**Not Sure(You can ignore as of now)**  
Do you need to be able to lock comments?  
**no**  
Should comments be searchable?  
**No**  
Are comments from registered users?  
**any one can comment**  
Do you allow anonymous comments?  
**yes**  
It may well be worth integrating with a third party system for comments if the requirements get complex.

**Would you please name few open source systems**

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [October 4, 2018, 9:06am UTC](https://community.bloomreach.com/t/comment-system-for-blog-details-page/419/5 "2018-10-04T09:06:33Z")

</div>

I cannot personally recommend any third party comment system. All of this can be done in the cms with some work. Check out [1], which is a start at least. To prevent comments from being indexed will take some adjustment of the indexing configuration. A simple model would be to put comments in a custom doc type on it’s own tree. These should link back to the original article. For display you will need a component to retrieve the published comments.

[1] [https://www.onehippo.org/library/enterprise/enterprise-features/enterprise-forms/pluggable-behavior-items/store-form-data-behavior.html](https://www.onehippo.org/library/enterprise/enterprise-features/enterprise-forms/pluggable-behavior-items/store-form-data-behavior.html)
