What is a module?
As the official Joomla documentation says, a module is a basic extension for Joomla that allows you to display content, generally as an output of a component or another extension. A module is generally displayed in a position of the template, either the frontend or backend, and is used to show additional content, for example, in sidebars or after the main content position. Modules are extensively used in Joomla, for example, to show a menu, display the login feature, show the footer of the website, display the latest published articles, and so on.
Figure 4.1 – Menu and login modules
In Figure 4.1, we can observe two of the most used modules in Joomla: a module that shows the main menu of the website, and the login form module. These modules are shown in the frontend of the website and are connected to a component from which they take their respective functionalities. For example, the main menu takes the menu management component...