Blog Home


Dynamic JavaScript in MODX IV

Asking MODX to generate the URL for our dynamic JavaScript

Dynamic JavaScript in MODX III

Putting JavaScript in a chunk with placeholders

Dynamic JavaScript in MODX II

Creating JavaScript in PHP and injecting it into a page

Dynamic JavaScript in MODX I

Methods for creating dynamic JavaScript in MODX

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.