Joomla 3.9.18 + Virtuemart 3.8.2 + SP Builder 3.7.2 Documentation

Modules

Understanding Modules

As you've learned in previous sections, website content can be broken up into two parts: primary content and secondary content. You learned how to create primary content in the Articles section and how to link to that content in the Menus one. Other content on the page, such as navigation menus, newsletter signup forms or footer text is secondary content. In Joomla, this secondary content is normally controlled through Modules. Modules are one of the five types of Joomla Extensions. The other types are more fully explained in next sections.

Creating a New Module

Using the simple instructions, you should be able to create almost any module type available to you. Here is a recap of the general steps to creating a new Module:

  1. NAVIGATE to the Extensions menu and then Modules.
  2. CLICK New button.
  3. CHOOSE the Module type from the list box.
  4. ENTER a Title for the new Module.
  5. SELECT a Template Position to display the new Module.
  6. ENTER any other applicable settings or content for the Module.
  7. SAVE the Module and CHECK the frontend by refreshing your browser.
Assigning Modules to Menu Items

Modules can be set to display on all pages throughout the site, or just pages that you specify. First, as always, sign in to the Administrator.

  1. NAVIGATE to the Extensions menu and then Modules.
  2. CLICK the Title of the Module you wish to work with.
  3. CLICK the Menu Assignment tab.
  4. SELECT Only on the pages selected from the Module Assignment dropdown.
  5. CLICK the None link next to Select at the top of the Menu Selection screen in order to clear the pages that will be displayed. This will cause the Module to not be displayed on any pages, but it will also make selecting the page or pages where you want to display the Module easier to manage.
  6. CLICK the plus sign next to Main Menu in order to view the options under that Menu.
  7. SELECT the Menu Item "pages" that you would like your Module to display on.
  8. CLICK the plus sign next to Main Menu in order to view the options under that Menu.
  9. CLICK Save & Close and CHECK the frontend to ensure that your Module is displaying properly.
Module Order

The last issue that we will consider in this section is the ordering of Modules on the page. We can change the order that Modules display by setting the Ordering column in the Module Manager. We will go through the required steps to change the ordering. As always, begin by signing in to Administrator.

  1. NAVIGATE to the Extensions menu and then Modules.
  2. FILTER the Modules by Position with the Select Position dropdown.We're working with the breadcrumbs.
  3. GRAB the ordering icon to the left of the Module that you would like to reorder and drag it to the new location in the list.
  4. CHECK the frontend of your site to ensure that the Module has been reordered.