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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.