Blog Home

Preventing Multiple, Simultaneous Logins

Keep multiple users from logging in with the same credentials

Updating Multiple MODX Settings in Code

Using a snippet to automate the process of updating multiple settings

Multiple Search and Replace Operations

Using a utility snippet for multiple search-and-replace operations

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

Getting Multiple Object Fields -- FAST

A very fast way to retrieve selected object fields without getting the whole object

Getting Multiple Parent Fields

A quick way to display multiple fields from the current resource's parent