hit counter for articles

jolly guy's picture

Hello,
I searched much for ready module can do count every visitor for articles and show it in article (node view),I need some thing like :

x reads | x comments

If anyone has any ideas for me that would be great, thanks so much.

Comments

statistics module

yelvington's picture

It's part of core; just enable it.

See also: http://drupal.org/project/statistics_advanced

I installed it before I post

jolly guy's picture

I installed it before I post here ...
when I open an article "node/27/track" this message appear to me :-" No statistics available."
I would like to show the counter for all visitors in the node body
regards,

are you there Yelvington am

jolly guy's picture

are you there Yelvington am still waiting you

After enabling the core

iimitk's picture

After enabling the core "Statistics" module, go to: Administration » Configuration » System » Statistics. For the setting "Content viewing counter settings" check the "Count content views" checkbox. That's Drupal 7; I imagine it's identical for Drupal 6.

I enable it from

jolly guy's picture

I enable it from "admin/reports/settings" but no thing has appear in node view area I would like to display the counter there

Be sure...

yelvington's picture

Be sure to set permissions for the module at admin/user/permissions, and configure it at admin/settings/statistics.

It work now fine. BUT how can

jolly guy's picture

It work now fine.

BUT how can I show the total count of the visitor (reads) ... ?

I got it work through

jolly guy's picture

I got it work through view+panel
regards,

Control the X reads

joshintosh's picture

Can you control what content types that the "X reads" shows up on? I can obviously use CSS to hide it on content types that I don't want them on, but it would be better to be able to do it proper. Also, anyway to change the text (aside from using javascript)?

Rules module

peskydonut's picture

There are probably better ways to do this, but you can use the Rules module:

Event: Content is viewed
Conditions: Content is of type
Action: Show message on the site. Value: [node:title] has been viewed [node:views] time(s).

If you're not seeing the [node:views] under actions, you probably need to turn on "Statistics" module and enable "Count content views" in Configuration ›› System ›› Statistics.

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: