hi people, iwant to code a widgets to show the latest added files
there is a file widgets in elgg,where should i modify to have this?
this is the code in elgg file widget
//get the user's files
$files = elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'limit' => $number, 'offset' => 0, 'full_view' => FALSE));
how to change this to get the latest ,or all files not just mine thx
thx
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.
- Cash@costelloc
Cash - 0 likes
You must log in to post replies.You would need to add a 'owner_guid' key to the array. Example: 'owner_guid' => get_loggedin_userid()