I am developing a plugin to count the number of views of a file.
Can anyone give a hint?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Jerome Bakker@jeabakker

Jerome Bakker - 0 likes
- ura soul@tunist

ura soul - 0 likes
- Samuel Santana@samuel.santana

Samuel Santana - 0 likes
- Jerome Bakker@jeabakker

Jerome Bakker - 0 likes
- Samuel Santana@samuel.santana

Samuel Santana - 0 likes
You must log in to post replies.Hi,
you could checkout this plugin https://github.com/ColdTrick/entity_view_counter
or this one:
http://community.elgg.org/plugins/872625/1.1/views-counter-18x
i didn't know about the coldtrick version - i will test that now since i had some issues with the other one. thanks.
Jerome Bakker, When I access http://your-site-url/admin/plugin_settings/entity_view_counter an error occurs:
Call to a member function getID() on a non-object in /var/www/spm/views/default/admin/plugin_settings.php on line 12.
What can this be?
@Samuel Santana
If you downloaded the plugin from github, did you rename the folder in the zip from entity_view_counter-master to entity_view_counter?
As the error occures in a view from Elgg core it hasn't yet reached my plugin. So i think the problem is a wrong name in /mod
How I did not notice this before? Jerome Bakker, thank you very much (Muito Obrigado)