[consulting] Views sorting (radioactivity + date + smth else...)?

Greg Knaddison Greg at GrowingVentureSolutions.com
Tue Mar 23 01:53:37 UTC 2010


On Sun, Mar 21, 2010 at 12:02 PM, Audrius Naslenas
<audrius.naslenas at gmail.com> wrote:
> Is it possible to sort view by some calculated number, lets say:
> radioactivity value * datestamp integer value ?
>
> Or: comment count * times node viewed ?
>
> Have one project, where I want to make node weights a bit "smarter" than
> just submission date or voting results. It could be a formula, which is
> calculated using 2 or more values.

It's not exactly what you're asking for, but the Radioacitivity module
at http://drupal.org/project/radioactivity provides a really
interesting interface for calculating radioactivity that I found to be
highly customizable.

I did a video about it at
http://www.masteringdrupal.com/screencast/highlight-your-best-content-using-radioactivity-module

In particular, sorting by "comment count * times node viewed" is
mostly possible with radioactivity module (not the true
multiplication, of course, but you can assign specific energy values
to both events which provide sorting).

Cheers,
Greg

-- 
Greg Knaddison | 303-800-5623 | http://growingventuresolutions.com
Mastering Drupal | http://www.masteringdrupal.com


More information about the consulting mailing list