test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • kj_wilson Friend
    #201517

    :(( This is an urgent request. My client needs to see this page redone asap.

    The home.php contains the block ‘mainbody-home.php that contains the spotlight1 and 2 components and the sidebar1.

    I have been trying to figure out how to move the components to the left and have the sidebar2 on the right.

    See attached image.

    Click image for larger version

    Name: mainbody-home-with-sidebar2.png
    Views: 2
    Size: 16.4 KB
    ID: 40125

    thanks.

    Saguaros Moderator
    #550447

    Hi Wilson,

    You will need to customize a bit in above ‘mainbody-home.php’ file, you can try with my tweak below:
    – Open file ‘mainbody-home.php’
    – Replace the whole ‘t3-mainbody’ div with this:


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

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content col-xs-12 col-sm-8 col-md-9">
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>
    <?php if ($this->checkSpotlight('spotlight-1', 'position-1, position-2, position-3')) : ?>
    <!-- SPOTLIGHT 1 -->
    <?php $this->spotlight('spotlight-1', 'position-1, position-2, position-3') ?>
    <!-- //SPOTLIGHT 1 -->
    <?php endif ?>

    <jdoc:include type="component" />

    <?php if ($this->checkSpotlight('spotlight-2', 'position-4, position-5, position-6')) : ?>
    <!-- SPOTLIGHT 2 -->
    <?php $this->spotlight('spotlight-2', 'position-4, position-5, position-6') ?>
    <!-- //SPOTLIGHT 2 -->
    <?php endif ?>
    </div>
    <!-- //MAIN CONTENT -->

    <?php if ($this->countModules($sidebar1)) : ?>
    <!-- SIDEBAR RIGHT -->
    <div
    class="t3-sidebar t3-sidebar-left col-xs-12 col-sm-4 col-md-3 <?php $this->_c($sidebar1) ?>">
    <jdoc:include type="modules" name="<?php $this->_p($sidebar1) ?>" style="T3Xhtml" />
    </div>
    <!-- SIDEBAR RIGHT -->
    <?php endif ?>
    </div>
    </div>
    </div>

    I also attach this file so that you can make comparison.

    Best


    1. mainbody-home.zip
    kj_wilson Friend
    #550465

    Thank you so much! I have saved the original mainbody-home.php file incase I need to use it on another page.

    I appreciate your quick response. 😀
    Thanks again.

    Saguaros Moderator
    #550467

    Glad to be of help!

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

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

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