Item View Count

Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
I was working with the jrSeamless module tonight and was trying to link up Advanced Charts to work with the listed items "view counts" for modules other then audio and profiles.

I Noticed that item views functionality wasn't in modules like jrForums, JrBlogs, jrGroupDiscuss and thought it would be a good suggestion to add this to these modules.

My suggestion is to add item view counts in these modules data stores so these modules can work with the advanced charts and other modules easier.
updated by @developer-networks: 11/07/16 10:36:08AM
paul
@paul
8 years ago
4,326 posts
You can do this by adding a 'jrCore_counter' smary call to the modules' item_detail.tpl templates. Eg. for blogs -

{jrCore_counter module="jrBlog" item_id=$item._item_id name="blog_view"}

hth


--
Paul Asher - JR Developer and System Import Specialist

Tags