sort Drupal content automaticall by popularity

hrdrupal - April 23, 2009 - 10:44

Hi,
I wanted to know if it is possible to show a frame in the frontend frontpage, which would automatically show the 3 or 5 most popular (i.e. with most views) content elements in the site overall (including from archives from day 1), and alternatively out of a section I select?

thanks

Use the Views module to

adam_b - April 23, 2009 - 12:34

Use the Views module to create a block display that you can show on the front page.

There's a default view (which you'd need to enable) called "popular".

Or you could create a new view:
- type is Node
- add whatever filters and fields you want
- sort by Node statistics: Total views or Views today

where to find "sort by Node

marvix - April 24, 2009 - 19:19

where to find "sort by Node statistics: Total views or Views today" Sort criteria does`t have this ?!

_

WorldFallz - April 24, 2009 - 19:24

Then you probably need to enable the optional core statistics module and turn on tracking at admin/reports/settings.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

You might find the "FiveStar"

dibbd - April 24, 2009 - 19:34

You might find the "FiveStar" module handy too:

http://drupal.org/project/fivestar

"The Five Star voting module adds a clean, attractive voting widget to nodes in Drupal 5 and 6."

Medisoft Reseller

 
 

Drupal is a registered trademark of Dries Buytaert.