Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • marigny Friend
    #128909

    Hallo,

    I find this thread

    http://www.joomlart.com/forums/showthread.php?p=45400#post45400

    where FAGUS template be modded to have a true left and right column.

    But this was for Joomla 1.0. What have I to do to get true left/right colums in Joomla 1.5 ?:p

    Thanks for anybody who can help

    Marigny

    Menalto Friend
    #251587

    If you open up the index.php from that file and find this:

    <div id="ja-containerwrap<?php echo $divid ?>">
    <div id="ja-container" class="clearfix">
    <?php if ($ja_left) { ?>
    <div id="ja-col1"><div class="ja-innerpad">
    <?php echo mosLoadModules ( 'left',-3 ); ?>
    </div></div>
    <?php } ?>
    <!-- BEGIN: CONTENT -->
    <div id="ja-content">
    <div id="ja-content-top">
    <div id="ja-content-bot">
    <div class="ja-innerpad clearfix">
    <?php mosMainBody(); ?>
    </div>
    </div>
    </div>
    </div>
    <!-- END: CONTENT -->

    <?php if ($ja_right) { ?>
    <!-- BEGIN: COLUMNS -->

    <?php if ($ja_right) { ?>
    <div id="ja-col2"><div class="ja-innerpad">
    <?php if ($hasSubnav) {?>
    <div id="ja-subnav" class="module">
    <div><div><div>
    <h3>On This Page</h3>
    <?php $jamenu->genMenu (1,1); ?>
    </div></div></div>
    </div>
    <?php } ?>
    <?php echo mosLoadModules ( 'right',-3 ); ?>
    </div></div>
    <?php } ?>

    <br />
    <!-- END: COLUMNS -->
    <?php } ?>
    </div>
    </div>

    And replace it with same code as i show you below here:

    <div id="ja-containerwrap<?php echo $divid ?>">
    <div id="ja-container" class="clearfix">
    <?php if ($ja_left) { ?>
    <div id="ja-col1"><div class="ja-innerpad">
    <jdoc:include type="modules" name="left" style="rounded" />
    </div></div>
    <?php } ?>
    <!-- BEGIN: CONTENT -->
    <div id="ja-content">
    <div id="ja-content-top">
    <div id="ja-content-bot">
    <div class="ja-innerpad clearfix">
    <jdoc:include type="component" />
    </div>
    </div>
    </div>
    </div>
    <!-- END: CONTENT -->

    <?php if ($ja_right) { ?>
    <!-- BEGIN: COLUMNS -->

    <?php if ($ja_right) { ?>
    <div id="ja-col2"><div class="ja-innerpad">
    <?php if ($hasSubnav) {?>
    <div id="ja-subnav" class="module">
    <div><div><div>
    <h3>On This Page</h3>
    <?php $tmpTools->genMenu (1,1); ?>
    </div></div></div>
    </div>
    <?php } ?>
    <jdoc:include type="modules" name="right" style="rounded" />
    </div></div>
    <?php } ?>

    <br />
    <!-- END: COLUMNS -->
    <?php } ?>
    </div>
    </div>

    And change to this in the css file:

    #ja-col2 {
    float: right;
    width: 24.9%;
    overflow: hidden;
    }

    #ja-col1 {
    float: left;
    width: 20%;
    overflow: hidden;
    }

    By doing this i hope it works out for you and that you have a ok template that have true left and right for Joomla 1.5

    jonathanq Friend
    #251951

    I tried the above method and it didn’t quote work. I found that I also needed to change the following:

    Change:


    #ja-content {
    float: left;
    width: 55%;
    background: url(../images/content-center.gif) repeat-y;
    }

    To:


    #ja-content {
    float: right;
    width: 55%;
    background: url(../images/content-center.gif) repeat-y;
    }

    For it to work. Although now it must be a 3 col – if you don’t fill the left or right – the content section does not stretch to fill. So it breaks the site layout. I’ll keep working on it to see if I can solve that – and will post if I do.

    Menalto Friend
    #251955

    check out this one:

    #ja-containerwrap-c #ja-content {
    width:78%;
    }

    What it says there. Is it same or?
    Also the way the original creator did this require some more work to do than if he/she did it another way.

    jonathanq Friend
    #251959

    Yes – that is exactly what my template currently states. I guess what I need to look at is modifying the #ja-containerwrap values to create the 1col+content, 1col + content + 2col, and content (no columns) with the correct widths etc.

    Sherlock Friend
    #256364

    Hi
    Do you have any successful ?

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

This topic contains 6 replies, has 4 voices, and was last updated by  Sherlock 16 years, 5 months ago.

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