Hi everyone,
I hope you're doing well.
Could someone let me know where the likes:count
event is defined within the Elgg core? I'm trying to trace its origin and better understand how it's being handled.
Thanks in advance for your help!
Best regards,
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.
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
- Hermand Pessek@rheman

Hermand Pessek - 0 likes
- Hermand Pessek@rheman

Hermand Pessek - 0 likes
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 1 like
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
- Hermand Pessek@rheman

Hermand Pessek - 0 likes
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
You must log in to post replies.You need to start from these points:
view
preload
data
Event trigger is
"Thanks, but where is the event itself defined?
Moreover how 'preload_likes' ($preload = elgg_extract('preload_likes', $vars);) is set in the DataService.
There is no core event.
It's just a service that counts the number of annotations on create, annotation and delete, annotation events.
But you can use this event in your custom plugin because:
elgg_trigger_event_results('likes:count', $type, $params, false);
This is an optional parameter that you can use for caching.
Here're similar cases.
Thanks.
Where can I see the details of the service (It's just a service that counts the number of annotations on create, annotation and delete, annotation events.)
I've meant preload and data.