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.

[MODX] Selecting Chunks – The Fast Way

It can make your life easier if you use the same Template on many pages, but you might not want them all to look exactly the same. Say, for example …

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

MODX getOption() with Snippet Properties

In the previous article, we looked at the various ways that $modx->getOption() can be used. In this one, we’ll look specifically at how it handles snippet properties placed in a …

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

Understanding the MODX getOption() Method

The $modx->getOption() method is the workhorse of MODX snippet code. There are over 1300 instances of it in my core/components/ directory. It’s used in almost any non-trivial snippet and many …

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