Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • railer Friend
    #148164

    Hi Joomlart,

    I have a main menu item called “News” which shows up with the other menu items in the JA Mageia horizontal menu at the top.

    I’ve unpublished the Main Menu module because my design doesn’t call for a vertical Main Menu in the left column, as in the JA Mageia demo.

    Problem:

    Whenever I create another menu item to display in the left column on the News page, it is automatically creating a double menu with the title “News” at the top. Even if I set “Show Title” to “No” in the module, it is still displaying the Title.

    And it is also displaying an old menu item that I’ve since deleted.

    It seems that the title of the mysterious module is somehow related to the “News” menu item in the main menu. When I change it in the Main Menu, it changes in the menu I made manually. No connection on my part.

    Here’s the source for that left column module:

    <!– BEGIN: LEFT COLUMN –>
    <div id=”ja-col1″>
    <div class=”ja-innerpad”>
    <div id=”ja-subnavcol” class=”moduletable”><h3>News</h3><div class=”sublevel”>
    <ul><li class=”first-item”><a href=”/index.php?option=com_content&view=category&id=3&Itemid=4″ class=”first-item” id=”menu4″ title=”Press Releases”><span>Press Releases</span></a></li></ul>

    </div></div> <div class=”moduletable”>
    <ul class=”menu”><li class=”item24″><a href=”/index.php?option=com_content&view=section&layout=blog&id=3&Itemid=5″><span>My Menu 1</span></a></li><li class=”item25″><a href=”/index.php?option=com_content&view=category&id=3&Itemid=4″><span>My Menu 2</span></a></li></ul> </div>

    </div>
    </div><br />
    <!– END: LEFT COLUMN –>

    Is this some kind of special JA coding that is linking things? “Press Releases” is a non-mainmenu item that I’ve deleted.

    Please advise and thanks,
    Railer

    railer Friend
    #330791

    Note: I’ve made other mainmenu items for other sections and then created left column menus, and they work fine. The above problem is only happening with the “News” main menu item.

    railer Friend
    #330792

    Here’s a png image that shows what’s happening. I want to get rid of the “News” and “Press Release” text at the top, and just have the two menu items, “My Menu 1” and “My Menu 2”.

    Thanks,
    Railer


    1. leftcol_menu_issue
    Anonymous Moderator
    #331117

    Hi

    Please open templates/ja_mageia/index.php file, at about line 233, find following code section:

    <?php if ($JAconfig->ja_menutype == 1 && $jamenu->hasSubMenu (1)) {
    echo '<div id="ja-subnavcol" class="moduletable">';
    echo '<h3>'.$jamenu->getParentText (1).'</h3>';
    $jamenu->genMenu (1);
    echo '</div>';
    } ?>

    and remove it.

    railer Friend
    #331209

    Awesome! Worked like a charm!

    Thanks so much Cao Hau!

    You da man!

    Railer

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

This topic contains 5 replies, has 2 voices, and was last updated by  railer 14 years, 9 months ago.

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