The difference between Joomla modules and components

There are some crucial differences between Joomla modules and components which you need to understand

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.

Contents[Show]

Modules

Modules are usually small pieces of functionality designed to present information in your site. They can appear a number of times, on a number of pages in various positions.

On the contrary components are a full blown application, usually quite complex and are to the main body if a page.

Also each module can be viewed in various pages, and the position of each module can be easily changed. You are allowed to select the menu items where a module is displayed. 

A good example of the usage of this functionality is targeted advertising.

If your site has various sections, you can create module for each section. Each module will contain a targeted advert for the section. Now instead of showing all the modules, all the time, you customise the visibility of the module such that each advert is displayed only in the relevant menu links.

Below you can see a screenshot of how to choose the menu items where a module is displayed. The module is displayed in the chosen menu items only.

Joomla Selected Menu Items

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
  • Polls
  • Login Form
  • Syndication Details
  • etc...

3rd Party Modules include

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.

Let's help you manage your Joomla better

joomla

Free Joomla tips ebook button

Components

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.

Create Component Menu Link

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

Recommend Reading:Joomla Extensions to take your website to the next level

3rd Party Components

  • JFBConnect - a components which allows you to register users on your Joomla website using their Facebook username and password
  • 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.
  • HikaShop- this component is used to create a shop and shopping cart and other ecommerce functionality on your 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

 

  Modules  Components 
Complexity Low Usually medium to high
Visibility Various  Single Page
Position  Various  Main Body only
Configuration  Low Extensive

 

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 extensions 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.

About the Author
David Attard
Author: David AttardWebsite:https://www.linkedin.com/in/dattard/
David has been working in or around the online / digital industry for the last 18 years. He has vast experience in the software and web design industries using WordPress, Joomla and niches surrounding them. As a digital consultant, his focus is on helping businesses get a competitive advantage using a combination of their website and digital platforms available today.

One more thing... Did you know that people who share useful stuff like this post look AWESOME too? ;-)
Please leave a useful comment with your thoughts, then share this on your Facebook group(s) who would find this useful and let's reap the benefits together. Thank you for sharing and being nice!

Disclosure: This page may contain links to external sites for products which we love and wholeheartedly recommend. If you buy products we suggest, we may earn a referral fee. Such fees do not influence our recommendations and we do not accept payments for positive reviews.
 

 

Get Started Now With ShutterstockShutterstock

Best Rated Caching Plugin

Make your website faster 

Step-by-step - free email course, how to make your website load in less than 1 second  

who are we?

CollectiveRay is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists.

David attard

 

Author(s) Featured On:  Inc Magazine Logo   Sitepoint logo   CSS Tricks logo    webdesignerdepot logo   WPMU DEV logo   and many more ...