Tag Archives: MODx

Template Report

A MODX Forums user asked for a way to find out which of his many templates were actually in use. Here’s a snippet that will create a report giving the …

Tags: , , | Posted under MODX, MODX | Leave a comment

Dynamic Search Criteria for getResources

There are many cases where the search criteria you want to specify for getResources, pdoResources, or another extra that uses a &where property, require calculations or are too complex to …

Tags: , , , , | Posted under MODX, MODX | Leave a comment

Using Parameterized Prepared Statements to Retrieve Data

In previous articles, we discussed using PDO to do fast writes to the database. If you’re going to write a bunch of objects to the database, though, it’s wasteful to …

Tags: , , , , | Posted under MODX, MODX | Leave a comment