Menu Content

Currencies Accepted


Shopping Cart

cart
Your Cart is currently empty.

How to Download A Product

For most of our products, including the free ones, you will need to go through checkout and place an order.

Read More

 

Find Us Elsewhere

Follow us on Twitter

Spiral Scripts on Facebook

rapidssl_ssl_certificate
2Checkout.com is a worldwide leader in payment services

Google ads

Home » Joomla Tips » Understanding Types of Joomla Extensions

Understanding Types of Joomla Extensions PDF Print E-mail

What is the difference between a Joomla Component, a Module and a Plugin?

This issue can seem rather confusing to a novice Joomla user, but it is really worth understanding this, because each have their specific uses.

A component is often the most complex type of extension. It can be a sophisticated application in its own right, such as an e-commerce store or a social networking system. Typically a component will supply the main content of a Joomla page, will have its own database tables, and can be added as a menu item in the site navigation.

A module is generally a mini-application. It will not generally supply the main content of a page, but instead supplies extra, self-contained output typically in a small area of the Joomla page. It will not normally have its own database tables, but may be linked to a Joomla component, and draw its data from the component tables. Equally, a module may display output drawn from another site entirely, or may display custom code.

Joomla allows a number of module positions to be defined in the template file. These positions will vary according to the template, but typically include the left and right columns, the header and footer, plus a variety of other positions. A module can be assigned to one of these positions through the Joomla module manager, and then will be displayed in that position on some, all or none of those pages, according to choice.

A plugin is often used to modify the output of a Joomla component. It is a piece of code that will normally be executed when specific Joomla events occur: for example, a user logs in, or the content of a Joomla article is rendered. Plugins can be extremely flexible in the way they operate and can be a great way to extend the functionality of existing Joomla applications. There are eight core plugin types, each of which may trigger its own set of Joomla events. These core types are: authentication, content, editors, editors-xtd, search, system, user and xmlrpc.

However it is possible to define custom plugin groups, generating their own custom events, resulting in a very flexible system.

A common usage for a Joomla content plugin is to embed code in the format:-

 

{myplugin}

This is added to a Joomla article. When the article is rendered the plugin code will be replaced by the output of the plugin.

However this format is not compulsory, and content plugins can take many forms.

Components, modules and plugins can all support parameters, allowing the output to be customized. For a component, the parameters are usually specified for the menu item, using the menu manager. For a module, these are set through the module manager. You can normally have more than one instance of a module on the same page, each with its own set of parameters. Plugin parameters can be set through the plugin manager.

 


Spiral Scripts
Written on Saturday, 29 August 2009 15:53 by Spiral Scripts

Viewed 3286 times so far.
Like this? Tweet it to your followers!

Latest articles from Spiral Scripts

  • New Image Slideshow for Joomla 1.6/1.7/2.5 posted on Monday, 23 January 2012 17:27

    We are happy to announce the release of our new image slideshow module for Joomla…

  • Mod Panel Slider Documentation posted on Saturday, 21 January 2012 10:42

    Our Panel Slider Module displays your images in an attractive and unusual scrolling slideshow. Display…

  • New Tool for Joomla Developers posted on Saturday, 14 January 2012 11:51

    Self-Replicating Form Field for Joomla There are times as a Joomla extension developer when it…

  • Variable Form Field Documentation posted on Thursday, 12 January 2012 13:24

    The variable field form field can be used to generate self-replicating fields of most of…

  • Virtuemart 2.0 Released posted on Thursday, 05 January 2012 11:16

    On 19th December the much anticipated Virtuemart 2.0.0 was released. This is a great achievement…

Latest 'tweets' from Spiral Scripts

  • Some useful Joomla mailing lists http://t.co/lBNEoAcK Link Wednesday, 01 February 2012 12:31
  • New Image Slideshow for Joomla 1.6/1.7/2.5 http://t.co/z9Utb8z9 Link Monday, 23 January 2012 18:14
  • New Image Slideshow for Joomla 1.6/1.7/2.5: We are happy to announce the release of our new image slideshow modu... http://t.co/bWb5VBPh Link Monday, 23 January 2012 17:57
  • New Tool for Joomla Developers http://t.co/jm4F3OlS Link Saturday, 14 January 2012 13:51
  • New Tool for Joomla Developers: Self-Replicating Form Field for Joomla There are times as a Joomla extension dev... http://t.co/myKPsmLh Link Saturday, 14 January 2012 12:17
blog comments powered by Disqus

 
 
 

VirtueMart Featured Products Grid

Switch View

A module extension for the the Joomla CMS. It plays a random list of mp3s using the Flash media player.

£12.00
This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£14.00


Buy both our Flash slideshow products for Virtuemart and save £5.

£25.00


This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£12.00