Sorting terms by number of nodes
Draggan@drupal.org - October 13, 2008 - 15:21
| Project: | Views Cloud |
| Version: | 6.x-1.0 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Jump to:
Description
adding to the questions asking how to use the weighting fields:
how do i create a weighting field "number of nodes using a term"?
in the end i would like to have two clouds: terms used in the last seven days and the last month.

#1
Views filters will do it for you: view -> filters -> post date
And this is the question. The only sorting I got is alphabetical or random.
We need either sorting terms by number of nodes, or displaying specified
number of terms having the highest number of nodes, and then sorting
them alphabetically.
@Eaton, will you help us? :]
Szy.
#2
+1
#3
#4
i need to. Subscribed
#5
+ 1
#6
+1
#7
+1
#8
subscribe
#9
subscribe. Desparately wanting this.
#10
For "number of nodes using a term", see http://drupal.org/project/term_node_count.
#11
^ The term_node_count module is great but it can't be used with a node-type view. Also, when using term-type view you can't select term_node_count as your weighting field for some reason.
#12
Update: the combination of http://drupal.org/project/tagadelic and http://drupal.org/project/tagadelic_views worked well for me. Easier to use as well.
#13
This has been included in the README documentation http://drupalcode.org/viewvc/drupal/contributions/modules/views_cloud/RE...
Instead of using the View row style as cloud, you need to add an argument for Taxonomy: Term ID and then use the "Cloud" *Summary Style* (as opposed to the View row style).