Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.9
Component:
Views Data
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2010 at 02:47 UTC
Updated:
26 Sep 2010 at 19:03 UTC
Hi there, pretty simple question, hope I can get a relatively straightforward answer :)
How can I use the result count from a view (the actual number) somewhere else on the site (like in another view, using Custom Field)? I would imagine it has to do with running the view, and then grabbing the result, of which you can get the total result count, but I'm not sure how to do that, and I'm not sure if this method would be "global", i.e. I could run it from pretty much anywhere on my site and it would work (say, in a block or a template preprocessor), so any help you could give would be excellent. Thanks!
Comments
Comment #1
dawehnerYou can get the total count of a view with
Comment #2
SpikeX commentedThanks! :)