Blog Home

Creating User Group Settings in Code

Using PHP to create MODX User Group settings

Understanding MODX Settings

MODX settings -- types and usage

Redirecting Users On Login VII

Use group IDs to speed up the membership test

Redirecting Users On Login VI

Redirect users based on a User Group setting, but control the order in which group memberships are tested

Redirecting Users on Login V

Redirect users on login by checking group membership directly

Redirecting Users on Login IV

Redirect users on the basis of user-group membership using a user-group setting

Adding Users to User Groups

A look at various methods for adding MODX users to user groups in code

Creating User Groups in a Plugin

A look at creating user groups in a MODX plugin.

Getting Resources Inside and Outside a Resource Group

A simple snippet to retrieve Resources in, or out of a Resource Group