Blog Home

Empty a TV in Resources under Certain Parent Folders

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

Make Plugins Execute Based on TV Values

Enable or disable plugins based on the values of specific TVs

Getting TV Values from Another Context

Here's a trick for getting the TV values for a resource that's in another context

Using fromArray() to Write Raw Values to the DB

How to write raw values to the database with the fromArray() method.

Get Child TV Values

Getting the TV values for children of the current resource in MODX.