Blog Home

Missing TVs with getResources or pdoResources

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

Keep the MODX Forums from Eating your Back-ticks

Some tips on using back-ticks and displaying code in the MODX Forums

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

Finding Bugs using a Binary Search

Finding bugs in your code when the error message is not helpful or there is no error message

What's the Current Year IV

Forwarding users to a year-dependent page automatically

What's the Current Year III

Creating links based on the year

What's the Current Year II

Controlling page content based on the year

What's the Current Year I

Getting the current year in code

Empty a TV in Resources under Certain Parent Folders

Changing the value of all TVs for resources under certain parent folders.

Getting the Path of a Media Source II

Code to get Relative Paths and URLs from a MODX Media Source