Blog Home


Dynamic Search Criteria for getResources

Using a small utility snippet to create complex search criteria for the &where property of getResources or pdoResources or any other snippet that uses a &where property.

Using getValue() for Object Content

Retrieving the main content field of resources and elements the fast way with getValue().

Using getValue() with TVs

Retrieving TV values fast with getValue()

Using getValue() with Date Fields

Retrieving and handling resource date fields like editedon and createdon in code the fast way with getValue()

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.

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.

LogPageNotFound Widget

Susan Ottwell's adaptation of my LogPageNotFound extra puts the page-not-found report in a Manager dashboard widget

Getting a Parent's Pagetitle

A simple snippet to get the pagetitle of the current resource's parent.