Blog Home


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

Set the Unpublish Date of a Resource Automatically

Using a plugin to set the Unpublish Date to a fixed interval from when it was published.

Using getValue() with Date Fields

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

Validating Zip Codes for the UserGroupFromZip Plugin

Using a regular expression to validate and normalize the zip code field for our plugin

How Auto-publish Works

Understanding the process MODX uses to publish and unpublish resources automatically

Show Full Name of Editor and Date of Edit for Resources

A snippet to show the full name of the person who edited the current page and, optionally, the date of the last edit.

Displaying MODX Date Fields

Tips and techniques for displaying date fields in MODX