-
AuthorPosts
-
August 6, 2010 at 8:12 pm #153200
I need help with adding a new module position on the LEFT. JA Ores doesn’t come with a left module position. And I need it. So I can add modules on the LEFT of the component/main content, whatsoever..
I mean this template comes with a left module position, but not where I need it. I need it to be displayed on the left side obviously to the left of my articles/components, etc..
Please help.. Which files and what lines will I need to edit?
Attached is an image of what I need.. It’s very important, and I need is ASAP.. SOMEONE PLZ!!!
Your help will be greatly appreciated!!
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
August 8, 2010 at 5:24 am #351995<em>@harikjr88 189130 wrote:</em><blockquote>I need help with adding a new module position on the LEFT. JA Ores doesn’t come with a left module position. And I need it. So I can add modules on the LEFT of the component/main content, whatsoever..
I mean this template comes with a left module position, but not where I need it. I need it to be displayed on the left side obviously to the left of my articles/components, etc..
Please help.. Which files and what lines will I need to edit?
Attached is an image of what I need.. It’s very important, and I need is ASAP.. SOMEONE PLZ!!!
Your help will be greatly appreciated!!</blockquote>
Try this :
Take backup and open Your_site/templates/ja_ores/layouts/default.php
around line 10.
$positions = array (
'left1' =>'',
'left2' =>'',
'left-mass-top' =>'',
'left-mass-bottom' =>'',
'right1' =>'left',
'right2' =>'right',
Change to :$positions = array (
'left1' =>'left',
'left2' =>'',
'left-mass-top' =>'',
'left-mass-bottom' =>'',
'right1' =>'',
'right2' =>'right',
Then scroll to line 61You will see :
[PHP] <div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>
<?php $this->loadBlock(‘main’) ?>
</div><?php $this->loadBlock(‘right’) ?>[/PHP]
Change to :
[PHP] <div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>
<?php $this->loadBlock(‘left’) ?>
<?php $this->loadBlock(‘main’) ?>
</div><?php $this->loadBlock(‘right’) ?>[/PHP]
That should help.
Arvind
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by Arvind Chauhan 14 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
New Module Position to the LEFT of main body?
Viewing 2 posts - 1 through 2 (of 2 total)