Hi,
When I want to display the number of replies to node_comments in a view, the view field Nodecomment: Comment count field is always 0. How do I get these?
Sample of my data model:
root_content_type
|-commentroot1
|--reply1
|--reply2
|---reply2_reply1
So when I make a view with all comments to my root_content_type, I want to list all "first level" comments with the numbers of replies as fields.
I hope you get what I mean. I think I could implement this myself when I find the time, but maybe this can be done already now somehow. Any suggestions, ideas, motivations,...?
Comments
Comment #1
Ghostthinker commentedI just wanted to tell that I managed it by hacking the module. I just copied the "Nodecomment: Parent node" stuff, made it "Nodecomment: Parent comment node". The rest is clear. If there is anybody whats a patch, just subscribe or email me.
Comment #2
grasmash commentedhow can this be done in 6.x-2.x-dev? Node:Comment Count for any comment returns none.
Comment #3
grasmash commentedit seems like the comment_count column only counts the number of comments on the original node, but there is no way to count the number of replies on a particular comment?
I accomplished a comment count field by using Views Custom Field to do a mysql query:
Maybe it would be a good idea to store this calculation in a 'comment_replies' column.
Comment #4
crea commentedThis looks like a feature request
Comment #5
crea commentedComment #6
crea commentedI think this feature doesn't belong to the module. This is too specific functionality that wouldn't be very useful to users of this module in general.