Blog Home


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

Get a Field Value -- Fast

A very fast and efficient method for getting field values in MODX, from Jason Coward.

Set Resource Fields and TV Values in a Plugin

Using a plugin attached to OnDocFormSave to modify resource fields and TV values

Get Child TV Values

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

Get TV Values -- The Fast Way

A look at various methods for getting TV values in MODX

Dynamic TV-Based Drop-down Lists

Create a simple snippet to show TV-based drop-down lists in the front end.