I am a newbie interested to know are there any extension to count views on click of a button as to know no. of registered users or visiters to web page to know the view count on click of a image is there any extension.
Plz let me know if any
thanx :)
I think , there is no need of any extension. Make a Ajax call on click button or image you are interested.
Improved: I supposed you have Site as controller and index as action. then, please keep this code on views/site/index.php .
And, keep this code on SiteController.php .