Your message has been sent.
This article has been saved to your account.
Go to my account
This article has been emailed to your Kindle.
Send this article
Complete the form below to send this article, Joomla! 1.5: Installing, Creating, and Managing Modules, to a friend (or to yourself). We will never share your details (or your friend's) with anyone. For more information, read our Privacy Policy.
Joomla! can be extended via the use of "Extensions". These extensions fall into three categories: Components, Modules, and Plugins. Modules are a larger 'catch all' than components. Where components add functionality to the Joomla! core framework, modules add functionality that allows the user to interact with parts of the system. Other types of modules are those that can 'contain' code or images within your site.
This article by Tom Canavan, author of Joomla! 1.5 Cookbook, covers the installation, creation and management of modules. Occasionally, you will need to enable, disable, or uninstall a module. This step is simple and is covered in a brief recipe.
| Read more about this book |
(For more resources on Joomla!, see here.)
In this recipe, we'll look at all aspects of a module.
How to do it...
Installing a Module
- Login to your Administrator Console.
- Click Extensions | Install/Uninstall.

Once you are in here, you'll have a few options to choose from:
There are three methods to install a module, in this section we'll focus on the first method. We'll examine the other two in a moment.
- Click Browse... and find the file.
- Click Upload File & Install.
Once you successfully installed the module, Joomla! will indicate this with this message:

How it works...
Module installation is a very similar process to components. The Joomla! universal installer has made it very simple.
The installer will write the appropriate settings to the database and will copy the files down to their respective locations.
There's more...
There comes a time when you no longer need a module. Or you may wish to disable it or even create a new one that didn't exist before.
As modules are essentially very lightweight in nature, creating them and placing them is easy.
The next few recipes cover these items.
Deleting modules
There are two methods to delete a module.
METHOD 1:
- Click Extensions | Install/Uninstall.
- Click Modules.
- Check the module you wish to delete.

- Once you check the module(s) you wish to delete, click Uninstall in the upper right-hand side:

Once you successfully uninstall the module, Joomla! will indicate this with this message:

METHOD 2:
- Click Extensions | Module Manager.
- Check the module you wish to delete.
- Click Delete in the upper right-hand side, the key difference is the message:

| Read more about this book |
(For more resources on Joomla!, see here.)
Disabling modules
Like components, occasionally, you need to disable a module. There are two methods to do this.
DISABLING A SINGLE MODULE:
- Click Extensions | Module Manager.
- Click the green arrow of the module.
DISABLING MULTIPLE MODULES:
- Click Extensions | Module Manager.
- Click the checkbox to the left of the name of the modules you wish to disable.
- In the upper right-hand side, click Disable.

You may also enable a single or multiple modules using this method.
Create new modules
In this recipe, we'll look at the New module function. This is not the same as 'coding' a module.
There are several different types of 'new' modules you can add. These can be enabled, disabled, and treated like any other modules. The process to create them is the same, so we'll focus in on a special module type called Custom HTML.
This module can do quite a bit.
- Click Extensions | Install/Uninstall.
- Click Module Manager.
- Click New - this will take you to the Module | New function.
- Choose the Custom HTML radio button.

- Click Next in the upper right-hand side.
- This will take you into a detailed screen with plenty of options. Let's review each as we build it.

- Title: Name the module as you wish (this is publicly viewable)
- Show Title: No or Yes
- Enabled: No or Yes (to use it must be enabled)
- Position: This is where in the template you want it to be seen
- Order: What 'order' does it need to appear in on the menus. The module positions dictate what order they appear if there is more than one. For instance, if you have three in module position left, then this will arrange them according to the order.
- Access Level: Choose the level of access needed to use/interact with module

- You can show your module on all menu items, none, or selected ones. This is not the same as menu creation. Rather it enables these to show up on the pages according to the links listed in the preceding screenshot.
- Click Save and your new module is ready to use.
There are several other module types, which have specialized functions you can add. For instance, you can add a new banner module or a new footer module. This, of course, is driven heavily by the theme you are using. Please consult your specific template for its module positions.
While these have very specific functions, you can use them to add content to areas that may be different than the template.
Summary
This article covered the covers the installation, creation and management of modules.
Further resources on this subject:
- Joomla! 1.5: Installing and Managing Components
- Joomla! 1.5: Creating Menu Items for Components
- Installation and Introduction of K2 Content Construction Kit
- Managing Articles Using the K2 Content Construction Kit
About the Author :
Tom Canavan
Tom Canavan has been in the Computer and IT industry for 20+ years where he spent several years as a Systems Consultant to many Fortune 100 clients and other global companies.
Canavan is considered a top security and disaster recovery expert in the Joomla world. He is the author of the Packt Published book Joomla! Web Security.
He is a former CIO and is currently the co-founder of SalvusAlerting.com. Canavan contributes articles on security and disaster recovery to several websites.




Post new comment