Does anyone know how to add the "likes" plugin to an object view? for instance I would like to add the "likes" feature to "the wire" object so I add
echo elgg_view('input/like', array('entity' => $vars['entity']));
to mod->thewire->views->default->object->thewire.php and nothing shows up. Im using 1.7.10
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.
Use get_river_items() and pass the entity's guid as either the subject or object (probably the subject) and then use the returned river item with the 3rd party plugin's functions to count the likes.
- Previous
- 1
- 2
- Next
You must log in to post replies.