Back to Top

How to add a custom module position in Joomla 1.5 template

Updated 29 November 2018

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’)) : ?>
<jdoc:include type=”modules” name=”custom” style=”xhtml” />
<?php endif; ?>

now open the template.xml and add the position as <position> moduleposition name </position>

enjoy ­čÖé


Start your headless eCommerce
Find out More
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home