Category Archives: MODX

A PHP Code Clarity Tip

This is a quick tip on making your PHP code easier to read (both for others, and for you). Complicated if statements can be fairly obscure, so we’ll look at …

Tags: , , | Posted under MODX, MODX | Leave a comment

Clearing User Session Data

When making changes to a user’s status or capabilities, as we discussed in the previous article, sometimes you’d like the changes to take effect right away. Suppose, for example, that …

Tags: , , , | Posted under MODX, MODX | Leave a comment

Adding MODX Users to User Groups

As I’m sure you know, there’s almost never just one way to do something in MODX. In this article, we’ll see several different ways to add a user to a …

Tags: , , | Posted under MODX, MODX | Leave a comment