hypejunction / user_sort
This package is abandoned and no longer maintained.
The author suggests using the hypejunction/hypelists package instead.
User list sorting for Elgg
Package info
github.com/hypeJunction/Elgg-user_sort
Type:elgg-plugin
pkg:composer/hypejunction/user_sort
1.1.1
2016-02-24 18:16 UTC
Requires
- php: >=5.5
- composer/installers: ~1.0
README
*** NO LONGER MAINTAINED *** The functionality of this plugin has been moved to hypeLists
Features
- Implements generic API and UI for sorting user lists
- By default, provides sorting by Name, Friend count, Registration date, and Last seen
- Extendable via hooks
Usage
List users
// display a sortable list of friends $options = array( 'relationship' => 'friend', 'relationship_guid' => $user->guid, ); echo elgg_view('lists/users', array( 'options' => $options, 'callback' => 'elgg_list_entities_from_relationship', ));
Custom sort fields
Use 'sort_fields','user' plugin hook to add new fields to the sort select input.
Use 'sort_options', 'user' to add custom queries to ege* options.