Blog Home

DirWalker -- A Class to Traverse Directories

Recursively traverse directories and list or process every file found

Spelunking in the MODX Codebase

Finding various bits of code in the MODX core

Removing Old Package Versions

How to safely remove old versions of transport packages

Getting Any Parent Field

A snippet to get any field from the parent of the current resource.

Getting a Parent's Pagetitle

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

How JavaScript Works in MODX

A look at how JavaScript and PHP interact and how JavaScript is used in the MODX Manager

How the Web Works

A look at the inner workings of an http request

Locked Out: Getting Back into the MODX Manager

Techniques for getting into the Manager when you're locked out

Change Your MODX Web Site with the Seasons

A utility snippet to help change your web site automatically with the seasons.

MODX CMPs: An Anatomy Lesson

A look at how typical pre-2.2 MODX CMPs work