1

How to implement a hit counter for all 'Article' type nodes? I want to display number of times (could be unique) a node was visited - perhaps within the teaser and at the bottom of the node.

1 Answer 1

5

In Drupal, you already have that module. You just need to activate Statistic module and set the rights permissions to anonymous users. And maybe you might modify your node.tpl.php to show count information.

Also, this module provides you blocks that show the most viewed nodes in the day, all the time or right now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.