Skip to content

DA7. Exploring the Joomla Modules

Problem Statement

  • Research three modules that can be run in Joomla.
  • Describe the modules, explain how they can be used, and why.

Solution

  • This text will start by defining the Joomla Module, then it will detail three default Joomla modules.
  • Joomla Module is a lightweight and flexible Extension used for page rendering. In Joomla, Module = Widget = A block of code that can be placed in a template position.
  • You usually place a module into a Position in the Template. The Position is a placeholder in the template where you can place a module. The Template is the visual presentation of a Joomla site.
  • Modules sometimes got mixed with Plugins, Plugins are also small extensions that extend the functionality of Joomla; Plugins may or may not contain MarkUp to be rendered on the page.
  • The module usually contains two parts:
    • Frontend: The part that is rendered on the page.
    • Backend Code: The part of the module code that gets executed in the backend, and resulted in the rendering of the Frontend.
    • Backend Configuration: In the Admin Panel, you can configure the module, and the configuration is saved in the database. Then these configurations will be used the next time the module got executed.
  • The Three chosen modules are:
    • Breadcrumbs: This module displays a list of links to the current page; and the parent pages.
    • Login: This module displays a login form and a logout link.
    • Statistics: This module displays some statistics about the site.
  • Breadcrumbs. It is a module that displays a list of links to the current page, and the parent pages, till the root page.
  • This module is useful for users to locate themselves on the website at any time.
  • The BreadCrumbs module is a default module in Joomla, and it is enabled by default. But, you can disable or hide it on some pages using the Backend Configuration Form of the module.
  • The form has a few fields like title, name, show title, show home, show last, separator, position, access and Ordering.
  • Once any of these fields are changed, the module will be re-rendered on the page.
  • More info can be retrieved from (Joomla Documentation, n.d., Extensions Module Manager Breadcrumbs).

breadcrumbs

Login Module

  • Login. It is a module that displays a login form and a logout link.
  • If the user is not logged in, the login form will be displayed, and if the user is logged in, the logout link will be displayed.
  • The authentication state will be shared between the Frontend and the Backend and will last until the user logs out or the session expires.
  • This module has a few fields in the Backend Configuration Form, like title, name, show title, position, access and Ordering. These fields also exist for almost all modules.
  • This module also has some unique configurations related to its functionality like the Login Redirect URL, the Logout Redirect URL, and more.
  • More info can be retrieved from (Joomla Documentation, n.d., Extensions Module Manager Login).

login

logout

Statistics Module

  • Statistics. It is a module that displays some statistics about the site.
  • This module can be configured to display the number of articles, categories, users, and more.
  • This module can be shown to the public or registered users(The main website), or it can be hidden and shown only in the Admin Panel.
  • This module has a few fields in the Backend Configuration Form, like title, name, show title, position, access and Ordering. These fields also exist for almost all modules.
  • This module also has some unique configurations related to its functionality like the Show Articles, Show Categories, Show Users, and more.
  • More info can be retrieved from (Joomla Documentation, n.d., Extensions Module Manager Statistics).

statistics

References