Hi all,

I'm looking for a way to make a view with a list of nodes. Within that view I would like to show a count of comments (statusupdates) per node.
Anyone an idea / best way?

Thanks in advance.
NdH

Comments

IceCreamYou’s picture

Title: Create node view with comment counts » Create a Views field to show how many statuses are posted on it
Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Component: Miscellaneous » Code (Features)
Category: support » feature

This is not currently possible, but I suppose we could add it.

IceCreamYou’s picture

Priority: Normal » Minor
Status: Active » Postponed

Postponing until after 7.x-1.0.

TheJoker’s picture

Statuses beautiful module. But this is a very hot topic. Who needs the functionality of Twitter as a minimum. I think many would like to see the total number of statuses.

delacosta456’s picture

Issue summary: View changes

hi yes this would be nice , but is it possible to have this with views aggregations and embed it ?

delacosta456’s picture

Yes Below could be a workaround for anyone in need

1 - If don't want to use code for embedding the view, download and enable this module Views Field View

2 - Clone the block display in the provided "Status All" by Statuses module (other's views, conversation et contextual didn't work for me)

3 - Add Recipient ID as contextual Filter to your new Block display

4- Enable Use aggregation in the display

5- In fields, Uncheck Exclude from display for the Status ID

6 -Click on Aggreation settings of the above's step field (status id) and set it to "COUNT"

7 - Delete all the remaining field

8 - IMPORTANT, Delete the Sort Criteria in sort section

9 - Save

11 - On your status view's block add a new field of type Global View (Provided by the module you enable in step 1) and save

Note : Instead of using the Views Field View module you can also add and "Attachment" displays and attach it to your status view

Hope i didn't omit any step and that it would help