Blog Home


Show User Info Based on a TV I

Select from a drop-down list of users and show the selected user's information on a page

Hide the Time Field for Date TVs

A quick tip showing how to hide the Time field when editing MODX date TVs in the Manager

Getting TV Values from Another Context

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

Updating Manager Pages in a Plugin XI

The final article in this series shows how to transfer TV values from one resource to another

Using modTemplateVarResource in a postHook

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

Understanding the modTemplateVarResource Object

Getting the value of a TV for a particular resource via the modTemplateVarResource object without touching the modTemplateVar (TV) object.

Using getValue() for Object Content

Retrieving the main content field of resources and elements the fast way with getValue().

Using getValue() with TVs

Retrieving TV values fast with getValue()

Using getValue() with Date Fields

Retrieving and handling resource date fields like editedon and createdon in code the fast way with getValue()

Using getValue() wth Boolean (Yes-No) Fields

Getting and interpreting MODX boolean (Yes/No) fields in code