How to add a new module position in Joomla?




Module positions are an important part of templates that allow you to set the position of elements on your Joomla site. This tutorial explains how to add a new module position in Joomla.



1. Log in to Joomla click Extensions ➝ Templates ➝ open the template you needgo to edit the file index.php​.

The file index.php - How to add a new module position in Joomla?



2. Paste this code where you want to place the new module position:

<jdoc:include type="modules" name="newposition" />



3. Go to edit the file templateDetails.xml

Editing the file templateDetails.xml - How to add a new module position in Joomla?



4. Add this code between the tags <positions>...</positions>:

<position>new-position</position>



To preview module positions, see the documentation:

Related articles