Skip to main content
removed thanks
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

So I have a content type called promise and that promise content typewhose node can be tagged with a status of that promise; Not: not started, in progress, achieved, broken.

So that every node has a status, one of the four above.

For this I wish to show a count for each of the above statuses in a view block. So say there are 100 promises, I want it to show the following.

  • 90 of 100 promises are not started
  • 2 of 100 promises are in progress
  • 3 of 100 promises are achieved
  • 5 of 100 promises are broken

How can I go about this? I know how to count a taxonomy term and show it has 2, 3 or 18 nodes tagged against it, but how to show out of 100?

Thanks

So I have a content type called promise and that promise content type can be tagged with a status of that promise; Not started, in progress, achieved, broken.

So that every node has a status, one of the four above.

For this I wish to show a count for each of the above statuses in a view block. So say there are 100 promises, I want it to show the following.

  • 90 of 100 promises are not started
  • 2 of 100 promises are in progress
  • 3 of 100 promises are achieved
  • 5 of 100 promises are broken

How can I go about this? I know how to count a taxonomy term and show it has 2, 3 or 18 nodes tagged against it, but how to show out of 100?

Thanks

I have a content type called promise whose node can be tagged with a status: not started, in progress, achieved, broken.

I wish to show a count for each of the above statuses in a view block. So say there are 100 promises, I want it to show the following.

  • 90 of 100 promises are not started
  • 2 of 100 promises are in progress
  • 3 of 100 promises are achieved
  • 5 of 100 promises are broken

How can I go about this? I know how to count a taxonomy term and show it has 2, 3 or 18 nodes tagged against it, but how to show out of 100?

Source Link

Count of the number of nodes tagged with a particular status

So I have a content type called promise and that promise content type can be tagged with a status of that promise; Not started, in progress, achieved, broken.

So that every node has a status, one of the four above.

For this I wish to show a count for each of the above statuses in a view block. So say there are 100 promises, I want it to show the following.

  • 90 of 100 promises are not started
  • 2 of 100 promises are in progress
  • 3 of 100 promises are achieved
  • 5 of 100 promises are broken

How can I go about this? I know how to count a taxonomy term and show it has 2, 3 or 18 nodes tagged against it, but how to show out of 100?

Thanks