How to Add New Module Position in Joomla?

The list of existing module positions where you can add a module is controlled by the Joomla template that you have installed. But what if that the existing positions is not enough and you need to add new Joomla module position in needed place. Read till the end and you will know how to add new module position in Joomla:

Step 1: Log into Joomla;

To add new module position first you need to log into your Joomla website admin area.

How to add new module position in Joomla? log in

Step 2: Enable module position showing;

Go to the Template manager => Options and enable Preview Module Positions.

How to add new module position in Joomla? Preview Module Position

Step 3: Discover where to add new module position;

Go to the frond end and type mysite.com?tp=1 to see existing module positions and discover where to add a new module position in your Joomla website (we will add before position-1).

How to add new module position in Joomla? Where to add?

Step 4: Enter your template files;

Go to the Template manager, then on the right, click Templates and choose the template that you are using on the frontend.

How to add new module position in Joomla? Choose the template

Step 5: Customize index.php file;

Add the following code

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

in your index.php file in a needed place you've decided in step 3 and click Save.

How to add new module position in Joomla? Customize index.php

Step 6: Customize templateDetails.xml file;

Add the following code

<position>newposition</position>

between
<positions></positions>

tags and click Save.

How to add new module position in Joomla? templateDetails.xml

Step 7: See the result.

Now new module position is added in Joomla, go to the frontend and see the results.

How to add new module position in Joomla? Results

Learn more tricks on Joomla tutorials section.