Adding a new module position in Joomla 2.5 or 3.x Template

The available module positions on your Joomla 2.5 or 3.x website is controlled by the template that you are using. If you would like to add a position to the template that didn't come out of the box, you can add a new position. We are going to outline below the correct steps to take to add a new custom position to your Joomla 2.5 or 3.x template.

Adding the code

Add the below code into the index.php file of the template that needs to have the new position.

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

Open the TemplateDetails.xml file and add a position as a child element of the <positions></positions> tags.


Below is what the positions tags will look like:


This is all there is to it. Next add any styles that you desire and you are done.