Author Archives: Bob Ray

Bob Ray

About Bob Ray

I am the author of MODX: The Official Guide and over 30 MODX add-on components. I host Bob's Guides, a source of valuable information for MODX users, and I've been very active in the MODX Forums with over 14,000 posts.

Displaying MODX Context Settings

A user on the MODX Forums asked for a way to show a Context Setting from a Context other than the current one. In this case the setting was the …

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

xPDOObject versus xPDOSimpleObject for MODX

When you create a custom object class that will be stored in a database table in MODX, one of your first decisions is whether to have it extend xPDOObject or …

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

Understanding addPackage(), loadClass(), and getService() in MODX

I have never completely understood the differences between getService(), addPackage(), and loadClass(), and I find most descriptions of them somewhat thin and misleading (including the ones in my book). I …

Tags: , , , , | Posted under MODX | 2 Comments