Blog Home


Using explode() to create arrays

How to convert a comma-separated list in a snippet property to an array in your snippet

Important Tips for MODX Extra Developers

Making sure that your extra package removes everything it installs

Replacing Strings with an Associative Array (PHP)

Use an associative array to do multiple string-replace operations

StripWords with Multiple Replacements

Use "find and replace" pairs to modify resource content

StripWords Custom Output Modifier

Remove selected words with a custom output modifier

Calling getResources in Code

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

Upcoming Teaser with Multiple Resource Types

Modifying the Upcoming Teaser snippet to work with multiple resource types

Upcoming Teaser Outside of Articles

Modifying the Upcoming Teaser snippet to work on other resource types

Upcoming Article Teaser

Show a list of upcoming articles to attract return visits

Hardening Your MODX Site

Some thoughts about making your MODX site more secure