By slayerment on
Is there a way I can display the number of views a node has had? Is there some type of data for this stored in the database?
Thank you :)
Is there a way I can display the number of views a node has had? Is there some type of data for this stored in the database?
Thank you :)
Comments
me too
me too
statistics module
I believe the statistics module (in the core package) allows this but I'm not sure if it only stores views for a set time period.
Okay, I just enabled the
Okay, I just enabled the statistics module and was looking around for some type of table in the database. Do you know if this uses the watchdog table or something?
I have checked the accesslog
I have checked the accesslog database and I don't see a nid column which makes it hard to figure out the number of hits. Is there any way to do this?
Statistics - count content view
In the settings section for the statistics module, you can choose to count views and to show or not to show the number of counts per node.
Naturally a table exists for it and you can look int he statistics.module to see what column the stuff is stored in. Let me know if you cannot find it. You can also get some good information using the tracker tab of any node, as well as statistics_filter to aggregate the numbers.
-----
Web Development, Production & Marketing Advice - http://www.cmsproducer.com/click/26/3
Ok I found it. It's under
Ok I found it. It's under the node_counter table. Thanks!