Blog Home


Using getValue() wth Boolean (Yes-No) Fields

Getting and interpreting MODX boolean (Yes/No) fields in code

Get a Field Value -- Fast

A very fast and efficient method for getting field values in MODX, from Jason Coward.

Selecting Chunks -- The Fast Way

Converting a slow conditional output modifier solution to a fast snippet

MODX getOption() with Snippet Properties

The ins and outs of how properties sent in a snippet tag arrive in the snippet.

Understanding the MODX getOption() Method

An inside look at the MODX getOption() method, with some things about it you almost certainly didn't know.

Display the Age of a Resource

A snippet to show the age of a resources using various time units

Speed up Page Loads with a Plugin

Dramatically reduce page-load times by using a plugin to place formatted data in the introtext (summary) field.

Set Resource Fields and TV Values in a Plugin

Using a plugin attached to OnDocFormSave to modify resource fields and TV values

Validating Zip Codes for the UserGroupFromZip Plugin

Using a regular expression to validate and normalize the zip code field for our plugin

Creating User Groups in a Plugin

A look at creating user groups in a MODX plugin.