Jump to main content Jump to doc navigation

What is Peoples?

Peoples is a simple User and User Group listing component for MODX Revolution. It can be used in community sites to show who is signed up as a User for a site, and any User Groups within that site.

Requirements

  • MODX Revolution 2.0.0 or later
  • PHP5 or later

History

Peoples was written by Shaun McCormick as a simple user and usergroup listing component, and first released on October 19th, 2010.

Download

It can be downloaded from within the MODX Revolution manager via Package Management, or from the MODX Extras Repository, here: https://modx.com/extras/package/peoples

Snippets

Peoples comes with 3 separate snippets:

Usage examples

List first 10 users, sorted by username.

[[Peoples]]

List first 10 user groups, sorted by name.

[[PeopleGroups]]

Display the User Group "HR Department", and output the Users in the group to the placeholder 'users':

[[PeopleGroup? &usergroup=`HR Department` &toPlaceholder=`users`]]

<h2>[[+peoplegroups.name]] ([[+peoplegroups.userCount]] Users)</h2>

[[+users]]

See Also

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • Chris Fickling
  • CrewMark
  • deJaya
  • eydolan
  • Following Sea
  • Lefthandmedia
  • Murray Wood
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • Nick Clark
  • A. Moreno
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$311 per month—let's make that $500!

Learn more