Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • lytrotis Friend
    #129620

    When using the split menu, the subnav appears in the left position. But if there is no other modules loaded in the left position, then the left position disappears completely along with the subnav. How can I make the subnav appear in the right position?


    1. subnav-missing
    2. subnav-showing
    Sherlock Friend
    #253379

    Hi lytrotis !
    You can fix this bug by the following way :
    open index.php file in templatesja_iolite folder , find following code section :


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

    <jdoc:include type="modules" name="left" style="xhtml" />
    </div>
    </div>
    <?php } ?>

    change to :


    <?php if ($ja_left) { ?>
    <div id="ja-col1">
    <div class="ja-innerpad">
    <jdoc:include type="modules" name="left" style="xhtml" />
    </div>
    </div>
    <?php } ?>
    <?php if ($hasSubnav) { ?>
    <div id="ja-subnav" class="moduletable_menu">
    <h3>On this page</h3>
    <?php $jamenu->genMenu (1,1); ?>
    </div>
    <?php } ?>

    lytrotis Friend
    #253421

    Almost got it! I made the changes to the index and it works except it’s not lining up with the rest of the modules in the right position… any thoughts?

    Thanks.


    1. Picture-4
    Sherlock Friend
    #253508

    Hi lytrotis !
    You replace obove red code section by following code section :


    <?php if ($hasSubnav) { ?>
    <div id="ja-subnav" class="moduletable_menu" style="padding-left:20px;">
    <h3>On this page</h3>
    <?php $jamenu->genMenu (1,1); ?>
    </div>
    <?php } ?>

    lytrotis Friend
    #253510

    Thanks a bunch!

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

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

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