By valcker on
Hi everybody. Does anyone know if there is a popular content module for drupal like on digg.com? Or maybe someone knows how to add links at the top of sertain pages like on digg.com(I mean 'Top Today|this week|'etc...)?
Thank you.
Comments
There are some ways how you
There are some ways how you can do this in Drupal. But the easyest is using views.module. You can create a page (view) with which will filter the results you want and add links to a block, navigation or (a bit advanced) to your theme.
Drupal Top Sites | Drupal Sites Directory
statistics module
Does the standard statistics module do what you want?
Once the statistics module is enabled and configured, you should have the 'Popular content' block available.
Not sure what advantages the views module has in this regard, but I would try this first.
--
Ross Kendall
UK based Web and IT consultant specialising in Free and Open Source Software technologies.
http://rosskendall.com
not really
Yes, it provides block with top content, but I need it to be more specific. I need it to show top content only for current category. For example if I am in the 'Box' category, then clicking on 'Top today' link will show me only top content from this category.
PHP Snippets
Check here, http://drupal.org/node/23220 in php snippets. I think there might be a snippet to display nodes based on terms/tags/categories.
Jim