Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • hoknight Friend
    #207437

    Hi,

    Is it possible to add a new position upon the main content?
    Just like my attached file.

    Regards,
    Johnny


    1. ScreenShot718
    pavit Moderator
    #574163

    Hi

    edit this file templatesja_cagotplsblocksmainbodytwo-sidebar.php

    <div id="t3-mainbody" class="container t3-mainbody">
    <div class="row">

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content col-xs-12 col-md-6 col-md-push-3">
    <jdoc:include type="modules" name="<?php $this->_p('newmodule') ?>" style="raw"/>
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>

    <jdoc:include type="component" />
    </div>
    <!-- //MAIN CONTENT -->

    add the line of code in red , newmodule is the name of your module


    1. Screenshot_9
    hoknight Friend
    #574172

    Thanks to your reply!

    I just added the new position following your step.I can see the new position displayed at template manager.
    However,why I can’t find this position on the module page?

    Regards,
    Johnny


    1. ScreenShot720
    2. ScreenShot719
    pavit Moderator
    #574196

    Hi

    Go to this file templatesja_cagotemplateDetails.xml and add your new position name


    <position>footer-9</position>
    <position>footer-10</position>
    <position>debug</position>
    <position>YOURPOSITIONNAME</position>

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  pavit 8 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum