Hi

I’m trying to build a view that displays users list ordered by the amount of content they created of a creation type. It suppose to work as “10 Top story writers”. In addition the view should display the amount of nodes each user authored. I know it quality that counts but here I take only quantity ;-)

Is it posible with views?

Comments

vm’s picture

you may also want to look into the hof.module

fatfish’s picture

It is also not too complicated to write this query in PHP. I would like to achieve this using views for constancy sake of other parts of the site, using the beautiful pager, and make this view easy to edit and manipulate, using views administrative UI.

..:| Tomer Fish |:..
fatFish - Lean Mean Coding Machine

vm’s picture

yes I believe it can be done with views. Again, as views already comes standard with a popular view that can be cloned and manipulated.

fatfish’s picture

Please correct me if Im wrong but, out of the box, views comes with no user based views.

..:| Tomer Fish |:..
fatFish - Lean Mean Coding Machine

vm’s picture

correct. If you don't have it already get the advanced help.module and read through the documentation provided. There is also a good amount of video casts shows off what views 2 can do.

fatfish’s picture

It seems views2 have a weak integration for user/content views.

..:| Tomer Fish |:..
fatFish - Lean Mean Coding Machine

vm’s picture

Well, ya know .... considering Views 1 had no method of using tables beyond the node table and therefore had no direct way to interact with users without making users nodes too .... I'd say views 2 has come a long long way.

WorldFallz’s picture

weak? not even a little-- it's just that sometimes it take a little detective work to figure out the exact combination of options you need for a given result. I'm pretty certain this can be done with views (i recently did something quite simliar). I don't have time to dig up now, but I'll try to check back later if you haven't made any progress.