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.

DirWalker – A Class for Recursively Traversing Directories in MODX

In a previous article, I promised to discuss writing code to produce references pages based on the MODX codebase. I’ll do that in a later post, but first, I want …

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

Spelunking in the MODX Codebase

There are times when the MODX docs just won’t tell you what you need to know. You have to look at the relevant code itself. Before you can do that, …

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

Get Any Field from the Parent of the Current Resource in MODX

In a previous article, I wrote about how to get the pagetitle of the current resource’s parent. It occurred to me that a more generic snippet that would get *any* …

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