6. Extending Joomla! with Modules

In this chapter, we look at how modules work in Joomla!. We start by discussing how modules relate to components. Then we look at a core module to see how it works. Then we create a new module, which includes pulling information from the Joomla database. We add some parameters to the module and package it for easy installation. We end with some recommendations for making the most of modules.

What Is a Module?

A typical page in a Joomla website shows one component and multiple modules. For example, the home page of Joomla version 2.5 with the sample data installed shows the Featured Articles component and five modules (Search, three menus, and Login). Modules typically are small, simple, and “lightweight” (meaning ...

Get Joomla!™ Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.