-
AuthorPosts
-
April 15, 2014 at 6:33 am #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.- pb66 Friend
pb66
- Join date:
- May 2010
- Posts:
- 129
- Downloads:
- 23
- Uploads:
- 10
- Thanks:
- 31
- Thanked:
- 42 times in 27 posts
April 15, 2014 at 7:02 am #530918I 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!
April 15, 2014 at 1:08 pm #530968I changed position name but it did not help my problem can we do another things.
Can I get some help.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 16, 2014 at 7:42 am #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.
April 16, 2014 at 12:17 pm #531125first of all thanks for response.
In this case when I publish left menu does not show on page
Any other solution?Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 17, 2014 at 4:42 am #531202I 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.
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 3 voices, and was last updated by kadirgur 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum