test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • kadirgur Friend
    #196770

    Hi.
    I use Ja Biz template. there is a something wrong in my template. it does not work as old templates. for example when I publish some thing on position Sidebar-2 (left position) there is no problem but if I don’t publish anything on this position it look empty. it stays empty. It does not look nice.
    Look at first picture see layout positions please.

    Second picture how it is on site

    than last picture which I want if there is nothing on sidebar-2

    Please help me.

    Thanks a lot.
    Best regards.


    1. message_position_layout_1
    2. message_position_layout-2
    3. message_position_layout_3
    pb66 Friend
    #530918

    I think you will find that the sidebar modules in the T3 templates are coded differently to regular module positions in the older style templates. eg. being designed to stay visible and scroll with the page instead of staying next to their adjacent text.
    This could be the first part of your problem.

    The second thing would be that need to consider the page assignments for the module. I would guess you have this module assigned in Sidebar-2 on every page – therefor the template will be trying to place something there.

    Try changing the module that you have assigned to sidebar-2 to only appear on the pages that you want it to and this may fix it.

    Hope this helps!

    kadirgur Friend
    #530968

    I changed position name but it did not help my problem can we do another things.
    Can I get some help.

    Ninja Lead Moderator
    #531091

    <em>@kadirgur 421841 wrote:</em><blockquote>I changed position name but it did not help my problem can we do another things.
    Can I get some help.</blockquote>

    You can try following workaround.

    Open the templates/ja_biz/tpls/blocks/mainbody-home.php file

    + Find and remove

    <?php

    /**
    * Mainbody 3 columns, content in center: sidebar1 - content - sidebar2
    */

    // positions configuration
    $sidebar1 = 'sidebar-1';
    $sidebar2 = 'sidebar-2';

    $sidebar1 = $this->countModules($sidebar1) ? $sidebar1 : false;
    $sidebar2 = $this->countModules($sidebar2) ? $sidebar2 : false;

    // detect layout

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

    + Change

    <div id="t3-content" class="t3-content col-xs-12 col-sm-8 col-sm-push-4 col-md-9 col-md-push-3">

    To

    <div id="t3-content" class="t3-content col-xs-12">

    Hope it helps.

    kadirgur Friend
    #531125

    first of all thanks for response.
    In this case when I publish left menu does not show on page
    Any other solution?

    Ninja Lead Moderator
    #531202

    I see you want to show left modules (if available) or hide (in case of no modules) and show full main content layout. You can get my attached file and copy it into the templates/ja_biz/tpls/blocks/mainbody-home.php path.

    Let me know if it helps.


    1. mainbody-home.zip
    kadirgur Friend
    #531219

    Thank you very much really I appreciate that. You are greate…

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

This topic contains 7 replies, has 3 voices, and was last updated by  kadirgur 10 years, 8 months ago.

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