hypejunction/group_sort 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hypejunction/group_sort

最新稳定版本:1.1.2

Composer 安装命令:

composer require hypejunction/group_sort

包简介

Group list sorting for Elgg

README 文档

README

Elgg 2.0

*** 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

Group Sort

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.

统计信息

  • 总下载量: 86
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2016-02-15