What are module positions?

From Joomla! Documentation

Revision as of 16:28, 14 November 2022 by Cmb (talk | contribs) (Corrected template.html to templateDetails.xml.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Site templates divide the "pages" displayed on a site into a series of module positions, each with a unique name.

Navigate to Administrator  Extensions  Templates. Select the template you wish to preview and click the edit icon. Click the preview icon.

You can add or remove positions by modifying your templateDetails.xml file.

You assign a module to a position using the Module Manager.

In the Module Manager, edit the module. In the left column, select All, None or the specific pages you would like it to appear on.

Notes: Modules that are not enabled will not display. Modules can be assigned to unused positions (positions not in the template) if you want to have them published but not displayed in a position. (For example, if you want to display a module in content using {loadposition}.) Multiple modules may be assigned to the same position. They will be displayed in the order shown for modules in that position in the Module Manager. If you want to display a module in more than one position, use the Module Manager to create another copy. Use the New icon and create another instance of the module.