Blog Home


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

Getting the Path of a Media Source I

Code to get the path of a MODX Media Source

Make Plugins Execute Based on TV Values

Enable or disable plugins based on the values of specific TVs