The difference between Joomla modules and components
Article Audience: Joomla Webmasters
Unless you understand the difference between a module and a component, you will find it very difficult to administer your Joomla installation. This article will explain the difference between modules and components and give examples of the usage of each of them.
Typical examples of standard Joomla modules are the following. As we can see the function of each of the modules mentioned is quite restricted.
- Main / User / Top and other menus
- Latest News
- Popular Articles
- Login Form
- Syndication Details
3rd Party Modules include
- Modules for displaying Paypal Payment or Doante Buttons
- Modules for displaying Random YouTube Videos
- Modules for rotating images / scrolling images etc.
Installed modules can be found in the Modules > Site Modules menu, or Installers > Modules. Configuration of modules is typically very easy, and is done by clicking on the module in Site Modules page.
On the other hand, a Joomla component is typically more complex, with extensive functionality and capabilities. A component can only be displayed in the main area of a page, and can only be displayed in a single page (usually). Links to components are usually done by creating menu items as shown in the image below. Components usually have a particular page or pages for their configuration.
Standard Joomla Components
- FrontPage component - this is used to display the contents in the frontpage. One can decide how many items to show in the frontpage, in how many columns, how many articles to have an intro only or not and various other options. To place a content item in the frontpage, the frontpage option must be checked on.
- WebLinks - this is a component where the user can configure different link categories and add items to each category.
- Banners - allows a Joomla website to create and display banners for advertising purposes
3rd Party Components
- sh404SEF - a component which is used to create Search Engine Friendly URLs for your Joomla content. Besides SEF urls, this component allows you to perform a number of functions related SEO (Search Engine Optimization) techniques.
- VirtueMart - this component is used to create a shopping cart in a Joomla website
- XCloner - allows you to backup and restore your Joomla website
- Image Gallery Components - various image gallery components exist for Joomla
Modules vs Components
|Complexity||Low||Usually medium to high|
|Position||Various||Main Body only|
The Joomla Extensions site lists an extensive number of free and commercial templates. There are also reviews and voting mechanisms to help you decide exactly what extensions are best for your needs. Also the Components section of this site, describes a number of extensions which we have found to be very useful.
Warning: 3rd party extension may compromise your site's security. Always make sure that your code comes from a trusted source.