Tag Archives: MODx

[MODX] Get a Field Value – Fast!

Suppose you want the value of a single field from some MODX object (most often, a resource, user, or user profile). Let’s use the example of a resource. You know …

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

[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