Reading list Switch to dark mode

    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 🙂

     

    Start your headless eCommerce
    now.
    Read More
    . . .
    Add a comment

    Leave a Comment

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


    Be the first to comment.

    Back to Top
    I have tested and used Webkul Marketplace extension for years under Odoo and now recently also deployed it under Magento 2 and I have to say that not only the code is responsive but also the team :-) Working hard and politely on my little nerdy requests, bug fixing and customization.
    Mohamed Es Fih
    eSolutions for Business Adviser
    www.intracen.org
    Talk to Sales

    Global

    Live Chat

    Message Sent!

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

    Back to Home