Modules
In this section, we will learn how to use modules, and see how a module works.
Modules are code that can be executed only from the Manager
interface. Modules are useful for the following two purposes:
1. Adding functionality to the
Manager
interface.An example of this kind of functionality is the DOC Manager module, which is an optional component that can be installed during the MODx installation. This module allows the Manager to perform bulk actions on resources.
2. Creating tables that snippets can use.
Snippets and plugins may need to store data in the database. Modules can facilitate this by creating these tables for the snippets or plugins. Moreover, Modules can be used to create an interface for the Manager to add data. This data can be stored in the database for snippets or plugins to use. In this section, we will look into a module and plugin pair, in order to demonstrate this functionality.
Using modules
In this section, we will install a module called Autolink. This module...