Blog Home


Getting Multiple Object Fields -- FAST

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

Using MySQL in MODX

A quick note on how to use straight MySQL statements in MODX

Getting Multiple Parent Fields

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

MODX Git Fu

Some tips and tricks for using Git with MODX

Git Bash Inside PhpStorm

Launch a floating Git bash window inside PhpStorm with a single click

Replacing a Site

Building a new MODX site with old site still running

Why I Put All MODX Sites in Subdirectories

There are some advantages to putting your MODX sites in subdirectories

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()