I have found code to show the total:

How To Show Node Comment Count in node.tpl?

Unfortunately I need to have this value available via VIEWS because I want to list 5 nodes based on total comment count. Short of caching the total as a field in the node (intercepting comment post and incrementing the number) -- what are my options?


1 Answer 1


There is a field available in views called "Comment count" - just add this field and your done.

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.