Blog Home


Acceptance Testing XVI - Final Resource Protection Test

The finished version of our Resource Protection Test

Acceptance Testing XV - Skeleton Resource Protection Test

A basic skeleton for a test of the MODX security system for protecting resources

Acceptance Testing X - ResourceSecurityTest

Using Codeception to test the MODX resource security system

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

Make Plugins Execute Based on Resource Fields

Enable or disable plugins based on the values of specific resource fields

Updating Manager Pages in a Plugin VII

Creating the Staged Resource only when appropriate

Why Some Resources Can't Be Saved

A look at problems that can keep you from saving a resource

Using modTemplateVarResource in a Plugin

Example code for using modTemplateVarResource to set a TV based the value of one or more other TVs

Using modTemplateVarResource in a postHook

Setting TV values with modTemplateVarResource based on user input from the Register form