[support] Counting the number of node created by user, Views only

Victor Kane victorkane at gmail.com
Wed Dec 22 18:58:50 UTC 2010


He's counting, there are no results to count

On Wed, Dec 22, 2010 at 3:48 PM, Lluís Forns <enboig at gmail.com> wrote:

> Suppose you want to make a "ranking" of contributors, being able to
> sort them. search by name, etc...
>
> I think the best way is using Views GroupBy  module, using PHP won't
> allow you to sort the results.
>
> If performance is important, you could cache the results in a table
> using cron and just show them when needed.
>
> 2010/12/22 Pierre Rineau <pierre.rineau at makina-corpus.com>:
> > Le mercredi 22 décembre 2010 à 09:23 +0100, Denis Lafont-Trevisan a
> > écrit :
> >> Hi,
> >>
> >>
> >> Sounds stupid but I can't manage to create a view that count the
> >> number of node of a certain type each user created.
> >
> > What are you really trying to do? This sounds quite stupid to use views
> > only to count something. Are you really willing to consume 10M of memory
> > and 100ms of execution time to only do a COUNT query?
> >
> > Pierre.
> >
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
>
>
>
> --
> *Les normes hi són perquè hi pensis abans de saltar-te-les
> *La vida és com una taronja, què esperes a exprimir-la?
> *Si creus que l'educació és cara, prova la ignorància.
> *La vida és com una moneda, la pots gastar en el que vulguis però
> només una vegada.
> *Abans d'imprimir aquest missatge, pensa en el medi ambient.
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20101222/487fbc09/attachment.html 


More information about the support mailing list