# No Reply Comments Thread

## Overview

![](https://1483599141-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbzMeM9XfnblRd78nga%2F-MW1kfoZMbLbwM01enTv%2F-MW1kxbEWGxGkQI_NQJN%2Fimage.png?alt=media\&token=fafbf9e5-9df4-4274-8451-db1f743994f9)

This block is a list of comments or messages by different users, with the ability for a user to create a new comment. It can be added on any object (a topic, a product, etc.).

## Structure

* When this block is added to a page, it is placed within a group called **Blocks container 860 (do not rename)** on the page. This group contains the responsive settings for all blocks.
* The block also comes with a data type called `t-Comments`.  This is the data type that will store all of the comments.
* All of the comments are displayed in **RepeatingGroup t-Comment.**
* **Button POST** creates a new comment.

## How to set up

* Add a field to the `t-Comment` data type that represents the object on which you want users to comment. For example, if you want users to comment on products, you should add a `Product` field.

![](https://1483599141-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbzMeM9XfnblRd78nga%2F-LbzT1_Nv9ROKl9Gt5jw%2F-LbzWjPZiiLmw8oGahZx%2Fimage.png?alt=media\&token=0b34150f-1f6d-4dc5-8e11-11a1fed306a5)

* Open the **comments\_onelevel** reusable&#x20;
* Modify the type of content displayed in the reusable to be whatever object for which you want to show comments. In this case you should make the group type be `Product`.

![](https://1483599141-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbzMeM9XfnblRd78nga%2F-LbzT1_Nv9ROKl9Gt5jw%2F-LbzVqMG1rHS6-8Yz4eS%2Fimage.png?alt=media\&token=06790d72-05b2-45f2-8cfc-3dab34831330)

* Modify the data source for **RepeatingGroup t-Comment** to include whatever filter you need. In this case, you should only include comments that are linked to the Product being displayed. &#x20;

![](https://1483599141-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbzMeM9XfnblRd78nga%2F-LbzT1_Nv9ROKl9Gt5jw%2F-LbzXKB6a3yeURclq8ks%2Fimage.png?alt=media\&token=5aff6a55-1783-447c-8043-b639864f4722)

* Modify the action that runs when the **Button POST** is clicked to also link the `t-Comment` created to the relevant object, in this case the Product that's displayed in the reusable.

![](https://1483599141-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbzMeM9XfnblRd78nga%2F-LbzT1_Nv9ROKl9Gt5jw%2F-LbzXakg9MJ1NnGHtqbl%2Fimage.png?alt=media\&token=1d1448d4-c101-4c7c-93b2-b704dd186288)

* Add a data source whenever you use the **comments\_onelevel** reusable that links to the appropriate object (in this case the `Product` that's displayed on the page).

![](https://1483599141-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbzMeM9XfnblRd78nga%2F-LbzT1_Nv9ROKl9Gt5jw%2F-LbzXoPvVLxngCFOVfX6%2Fimage.png?alt=media\&token=c4c1c5b3-c718-4033-9583-b0c0c0c880bc)
