How to create a comment view in Drupal?

Submitted by ravisagar on Wed, 07/28/2010 - 04:18

Today we will share how to create a simple block view to display the comments. Though Drupal offers a predefined block for comments but at many times you may need to create your own block with custom fields and filters.

To create a comment views
1.First you need to create a View with all the fields of comment as preferred.

2.The main concepts comes into the filter portion, you can add a filter of comment body

3.Then when you click on add option it shows (is equal to) and a text box that should be done is (not equal to) > empty body(empty text box)...

4.It will show is all the comments that has been posted.

So keep Drupaling..!

More great concepts at Sparxsys Solutions (We believe in best)..
Any queries ask us???

www.sparxsys.com

module used: views, comment