Blog Home


Missing TVs with getResources or pdoResources

Why some TV values may not be shown by getResources or pdoResources

Saved Resources don't Show in Tree

A case where MODX resources save with no errors but don't show up in the Resources Tree

Search and Replace with a Utility Snippet

Perform search-and-replace operations on all resources with this utility snippet

Calling getResources in Code

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

Dynamic Search Criteria for getResources

Using a small utility snippet to create complex search criteria for the &where property of getResources or pdoResources or any other snippet that uses a &where property.

Selecting Resources to Preview on your Home Page

A client-friendly way to show selected teasers with getResources

Getting Resources Inside and Outside a Resource Group

A simple snippet to retrieve Resources in, or out of a Resource Group