About MODX Content Elements

MODX Content Elements (almost always referred to as just "Elements") include Templates, Chunks, Snippets, Plugins, and Template Variables.

By default, Elements are stored in the MODX database. There is a separate database table for each type of Element. As of MODX 2.2.0, however, it's possible to store the content of each element in a disk file or other Media Source (such as Amazon S3, or DropBox). This allows you to use version control systems on the source of each Element and edit it in your favorite editor. To learn more about Media Sources, go: here.

Click on one of the following links to learn more about the various elements:


My book, MODX: The Official Guide - Digital Edition is now available here. The paper version of the book may still be available from Amazon.

If you have the book and would like to download the code, you can find it here.

If you have the book and would like to see the updates and corrections page, you can find it here.

MODX: The Official Guide is 772 pages long and goes far beyond this web site in explaining beginning and advanced MODX techniques. It includes detailed information on:

  • Installing MODX
  • How MODX Works
  • Working with MODX resources and Elements
  • Using Git with MODX
  • Using common MODX add-on components like SPForm, Login, getResources, and FormIt
  • MODX security Permissions
  • Customizing the MODX Manager
  • Using Form Customization
  • Creating Transport Packages
  • MODX and xPDO object methods
  • MODX System Events
  • Using PHP with MODX

Go here for more information about the book.

Thank you for visiting BobsGuides.com

  —  Bob Ray