Jump to main content Jump to doc navigation

PeopleGroup's userTpl Chunk

This is the Chunk displayed with the &userTpl property on the PeopleGroup snippet.

Default Value

<li class="[[+cls]]">[[+username]] - <em>[[+role]]</em></li>

Available Placeholders

Name Description
id The ID of the User.
username The username of the User.
active Either 1 or 0, depending on if the User is active or not.
role The name of the Role of the User in the group.
role_id The ID of the Role of the User in the group.

If &getProfile is set to 1 on the PeopleGroup snippet, also available is any field in the User's Profile.

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.



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

Learn more