Insert Newline to ExtJs's Textarea when Enter Key is pressed

MODX originally submits a form on ENTER key action, including when the user is typing on a textarea. I've…

Read More
Define Relationships for Custom Tables, from MySQL WorkBench to Reverse Engineering

Quick way to create schema file for a complex custom database, start from setting up relationships on…

Read More
Cleaning a DOM using Dojo

Dojo has dom/dom-construct::empty() method to empty out a dom. But sometimes it does not work well for…

Read More
Upload Photo in MODX's User Registration

There seems a confusion for MODX's developer to set up how they can set photo uploading for registration…

Read More
Ajax's connector file using MODX's main index.php

It had been a puzzle for me, how to create an Ajax's connector file, but could pick up the user's session…

Read More
Creating an Efficient MODX Template

You might wonder how to create the most efficient template for a site built in MODX, while you can create…

Read More
Twitter Bootstrap with jquery.validate.js and popover

I like to use twitter's bootstrap, and somehow for some cases I also need to use the jQuery's validation…

Read More
Redirect Specified Usergroups after Logged in Using the Login Snippet and a Plugin

There's been a need for the MODXdeveloper to set the Login snippet to redirect the users to a particular…

Read More
Unexceptional 5 Parameters that All MODX's Snippets Should Have

The Recognition to the requirement of the MODX's Snippet Parameters Standard.

Read More