Menu Close
    Searching for an experienced eCommerce & Marketplace Development Company ?

    How to add a custom module position in 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; ?>

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

    enjoy 🙂

     

    . . .
    Discuss on Helpdesk

    Leave a Comment

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


    Be the first to comment.

    Back to Top