131 Posts
layonill
5 years ago
4
Topic

how do I use hits count in seblod?

Get a VIP membership
131 Posts
layonill
5 years ago
0
Level 1

no ideas?

131 Posts
layonill
5 years ago
0
Level 1

because I need to use this 

5 years ago
1
Level 1

Hello,

Not sure if you mean "Page/View" hits or "File/Download" hits.

For "Page/View" hits, by assigning the "Article Hits" field to your content view (or list), you will be able to display the number of hits.
Please note that this will only use the Joomla! native hits column and process, and so each time you refresh the page, it will increment the "Page/View" hits (nothing about unique view per user, IP, or else). Maybe some existing 3rd-party content/system plug-ins for joomla may improve it.

Or you can just to implement it with SEBLOD, but you'll need to write some custom code.

For "File/Download" hits, within an HTML Typo, you can retrieve the number of hits with "*hits*" or $cck->getHits('[FIELD_NAME]')

Regards,
Saba

131 Posts
layonill
5 years ago
0
Level 2

thank you, finally I get answers, it was for page views, and, I wanto to know if what I am going to say it's possible, and if it is, how can I make it, I want the hits count to be part of a form module in that content, this form will miltiply something for the amount of hits, once the button submit is pressed, I want the hits to be reset in that content, just in that one, is it possible?

Get a VIP membership