Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • njean Friend
    #127631

    Hi,

    is it possible to add an horizontal menu just above the footer section by inserting some code?

    Thanks

    Sherlock Friend
    #245781

    Hi njean !
    You can do following way :
    open index.php file in templates/ja_mageia folder :
    find those section :


    <!-- BEGIN: MAIN NAVIGATION -->
    <div id="ja-mainnavwrap" class="clearfix">

    <h1 class="logo"><a href="index.php"><?php echo $JAconfig->template; ?></a></h1>

    <div id="ja-mainnav">
    <?php
    switch ($JAconfig->ja_menutype) {
    case 1:
    include(dirname(__FILE__).DS."/ja_Splitmenu.php");
    $jamenu->genMenu (0);
    break;
    case 2:
    case 4:
    include(dirname(__FILE__).DS."/ja_cssmenu.php");
    $jamenu->genMenu (0);
    break;
    case 3:
    echo "<div class="transmenu-inner">";
    include(dirname(__FILE__).DS."/ja_transmenu.php");
    $jamenu->genMenu (0);
    echo "</div>";
    break;
    }
    ?>
    </div>
    </div>

    <!-- END: MAIN NAVIGATION -->

    copy obove code then add to here :


    <!-- add here -->
    <!-- BEGIN: FOOTER -->
    <div id="ja-footerwrap" class="clearfix">
    <div id="ja-footer">

    good luck !

    njean Friend
    #245889

    well that isn’t exactly what I mean, I expressed myself not so good.

    I want to add a simple horizontal text menu above the footer, not the graphical Mageia top menu.

    Now, if I create a new menu and set it to bottom or footer, it isn’t shown, it looks like positions bottom and footer aren’t set and declared in the template.. how to insert a new menu position?

    Sherlock Friend
    #245971

    Hi njean !
    – You go to menu manager -> copy top menu module to create a new module . Go to new module set position for it is bottom .

    open index.php file add following code section :


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

    to here :


    <!-- add here -->
    <!-- BEGIN: FOOTER -->
    <div id="ja-footerwrap" class="clearfix">
    <div id="ja-footer">

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

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

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