hypejunction / group_sort
This package is abandoned and no longer maintained.
The author suggests using the hypejunction/hypelists package instead.
Group list sorting for Elgg
Package info
github.com/hypeJunction/Elgg-group_sort
Type:elgg-plugin
pkg:composer/hypejunction/group_sort
1.1.2
2016-02-24 18:18 UTC
Requires
- php: >=5.5
- composer/installers: ~1.0
- hypejunction/forms_api: ~1.0
This package is auto-updated.
Last update: 2022-02-01 12:55:41 UTC
README
*** NO LONGER MAINTAINED *** The functionality of this plugin has been moved to hypeLists
Features
- Implements generic API and UI for sorting group lists
- By default, provides sorting by Name, Membership count, Time created, Latest activity
- Provides a filter to list open and closed groups, featured groups, groups user administers or a member of, group invitations
- Extendable via hooks
Usage
List groups
echo elgg_view('lists/groups', array( 'options' => array( 'types' => 'group', ), 'callback' => 'elgg_list_entities', ));
Custom sort fields
Use 'sort_fields','group' plugin hook to add new fields to the sort select input.
Use 'sort_relationships','group' plugin hook to add new relationship/metadata filter options.
Use 'rel_options', 'group' to add custom queries to ege* options for specici sort field and direction.
Use 'sort_options', 'group' to add custom queries to ege* options for specific relationship/metadata filter option.