Blog Home

Creating System Settings in Code

Using PHP code to create MODX System Settings

Using MODX Settings in Code

Using settings in the PHP code of a snippet or plugin

Creating Symlinks in Code

Using PHP code to create a new Symlink

Calling getResources in Code

Get the results of a call to getResources in PHP code (and a useful trick for the &where property).

A PHP Code Clarity Tip

A more readable alternative to some complex if statements in PHP.

How To Tell If a Table Exists

A quick tip for checking on the existence of a database table in PHP code

Spelunking in the MODX Codebase

Finding various bits of code in the MODX core