How to add a custom module position in a Joomla 1.5 template

The available positions for your modules are defined in the templates/your_template/index.php file inside your Joomla directory. You can create a custom position by adding it into this file.

For example, if you want to create a position named "custom", you should add the following code into the index.php file where you want the module to be displayed:

<?php if ($this->countModules('custom')) : ?>
<div>
<jdoc:include type="modules" name="custom" style="xhtml" />
</div>
<?php endif; ?>

Once you have done that, go to the Module manager, edit the module you want to display into this position and type manually custom into the "Position" field. Then, clear the cache of your Joomla application and check your website to see the new module position.

Joomla is a powerful software that is easy to work with once you have the right host to support you. Before you lose any more time with the wrong host, check out the SiteGround Joomla hosting offer.