Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • harikjr88 Friend
    #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!!


    1. leftmodule-copy
    Arvind Chauhan Moderator
    #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 61

    You 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

Viewing 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