views counter
mallet - July 20, 2009 - 14:04
Is there a method or module for displaying a counter for each time a user clicks on a Node?
I did enabled the Statistics Module on Drupal 6 core mod. The annoying feature with the default statistics module is, instead of displaying 'views' it says: 'reads' I did however try to edit the stat module file line: '@count reads' to '@count views' it worked on one of the files but didnt globally work for the 2 other files :(
Anyone recall doing something similar?
-Mallet

:::::::::::::
It's not a good idea to hack Drupal core.
I recommend you to enable the Locale module.
Then go to this url http://www.yoursite.com/admin/build/translate/search
There, search @count reads and change it to @count views.
Save your changes.
Cheers.
La esperanza continúa intacta.-
Display statistics counter separately
Is there a print $ function I can use to just generate a nodes page count in the node.tpl.php file. It seems the only way to include this is to do $links but of course I don't want everything to show up.
Thanks for the reply. I am
Thanks for the reply.
I am not sure what you want me to do here. as I cant find the @count. Sorry, I am still new with drupal.
Do I have to edit the locale.module to do this?
-Mallet
_
You might want to try the http://drupal.org/project/stringoverrides module, it's a bit easier to use than locale.
_
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.
thanks for the link. Gave it
thanks for the link. Gave it a try and worked. when you do upload a file, sometimes it shows reads but after a couple minutes of refresh it goes to views. which is fine. But I have been getting this strange views counter.
I hope I got this right, I have setup my statistic configuration to: increment a counter each time content is viewed. So, I have enabled Count content views.
on the advance setting module all the check boxes have been cleared: Do not log visits from search engines and crawlers and Only allow unique content views to increment a content's view counter. I have of course, checked the box for which nodes I want it for.
Strange thing is, if you logon as a user, each time you click on a node, it counts it. but if your an anonymous person, it doesnt count but counts it at a later time.
any clues to why this is happening?
_
I think that's default behavior-- see http://drupal.org/node/307419#comment-1007752 for more info. You might want to checkout the http://drupal.org/project/statistics_advanced module.
_
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.