Archive Results

MODX Alphanumeric Password Validator

A custom validator for the MODX Register snippet that limits password characters to alphanumeric, hyphens and underscores only. While probably not the best idea when it comes to password security there may nevertheless be situations when restricting character types is necessary.

TinymceWrapper: Customizing Ace Editor

If you’re using the TinymceWrapper Extra you can customize the Ace editor window so it better matches the style of the MODX Manager by overriding the hard-coded CSS in the plugin. For the purpose of this tutorial I will focus specifically on the “Close” button (icon) in inline mode.

MODX + MailCatcher

Configure the MODX mail settings to use the MailCatcher Ruby Gem as a local smtp server, complete with a basic GUI so you can send email from your local development installation. Great for testing and debugging your forms and email.

MODX TinymceWrapper CustomJS

How to target any textarea in the MODX Manager (back-end) using TinymceWrapper and turn it into a fully customizable rich-text field. For example, sending rich-text emails using MODX’s built-in Messages feature.