test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • hcharly Friend
    #144552

    Hey Guys,

    I have a stupid question. 😉
    How to make a content displayed as it is in the demo (Layout->Content+Right Column)?
    Disabling modules at “Left” position, the left position is displayed empty. I want the content to begin from there.

    In advance thanks

    Anonymous Moderator
    #318675

    Hi hcharly

    – Open templates/ja_trona/index.php file, find this code:


    <?php if ($ja_left) { ?>
    <!-- BEGIN: LEFT COLUMN -->
    <div id="ja-col1">
    <div class="ja-innerpad">

    <?php if ($hasSubnav) : ?>
    <div id="ja-subnav" class="moduletable_menu">
    <h3>On this page</h3>
    <?php if ($jamenu) $jamenu->genMenu (1,1); ?>
    </div>
    <?php endif; ?>

    <jdoc:include type="modules" name="left" style="xhtml" />

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

    and remove it.

    + Open templates/ja_trona/css/template.css file, find following code:


    #ja-content {
    clear: both;
    display: block;
    float: right;
    width: 72%;
    background: none;
    }

    and change to:


    #ja-content {
    clear: both;
    display: block;
    float: right;
    background: none;
    }

    hcharly Friend
    #318708

    Thanks JA Developer,
    Doing so, I’ll remove the left column definitively.

    I probably missexplained my problem:
    In the Live Demo, despite the presence of the left column, it is not displayed in the “Content Layouts” article.
    In the main menu it is “Layouts->Content+Right Column”.

    It’s the same thing I would like to do with some articles when the left column is empty.
    I thought it is “Class suffix” matter but it is not.

    Any idea?
    Thanks.
    -Charles

    Anonymous Moderator
    #319353

    Dear hcharly

    I think there are some problems with your changes.

    Could you please send me your live url, admin account via PM so that i could have a closer look on the issue?

    hcharly Friend
    #319555

    Hello JA Developer,

    Please forget my PM. I found what was wrong.
    The template is not concerned.

    Mea culpa.
    I had published at “LEFT” a module which was not displaying anything.
    Worst, it was enabled for “ALL” menuitem.
    In these conditions
    $ja_left = $this->countModules('left')
    was never ZERO OR NULL.

    One more time thanks for your help.
    -Charles

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

This topic contains 5 replies, has 2 voices, and was last updated by  hcharly 15 years, 2 months ago.

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