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 hostlantern Joomla hosting offer.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to enable SSL in Joomla 1.5

If you would like to use an SSL certificate with a Joomla website, you can enable it via: Joomla...

Is it possible to throttle Joomla 1.5 Mass Mail so that it does not exceed the limit of 400 e-mails per hour?

This is not possible with the Joomla mass mail functionality. In order manage the number of email...

Block spammers in Joomla 1.5 through Project Honey Pot

Websites build through Joomla are often attacked by spammers. You can protect your web site by...

How to enable RSS in Joomla 1.5?

RSS stands for Really Simple Syndication - a web feed format for publishing frequent updates of...

How to reduce the number of articles displayed on Joomla 1.5 front page

To change the number of articles displayed on the front page of your Joomla 1.5 website, go to...