Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • philipgillen Friend
    #146418

    Hello,

    I would like to set an “End Level” on the Mega Menu at the top of the page. I realise this cannot be achieved through the mod_mainmenu parameters so can somebody please tell me what file(s) I need to change to set the End Level to 2?

    Appreciate it and thanks,

    Philip. 🙂

    Anonymous Moderator
    #325364

    Hi philipgillen

    Please open base.class.php file, find following code section:

    function genMenuItem($item, $level = 0, $pos = '', $ret = 0)
    {

    and change to:


    function genMenuItem($item, $level = 0, $pos = '', $ret = 0)
    {

    if ($level == 2) {
    return;
    }

    philipgillen Friend
    #325446

    Hello,

    Thank you for your reply but Im afraid this change did not work fully. The menu still shows, although there are no menu items on it. Strangely though, if you hold your mouse close to the edge of the empty menu, the menu items re-appear.

    I also tried changing the $endlevel parameter in the mega.class.php file from 10 to 2 and that didnt make a difference either.

    Not a big deal if i cant get this working but if you could try again that would be great! 🙂

    Thanks,

    Philip.

    Anonymous Moderator
    #325492

    Hi philipgillen

    Please open templatesja_kyanite_iilayoutsblocksmainnav.php file, at about line 3, find following code section:


    <div class="inner clearfix">
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (0); ?>
    </div>

    and change to:

    <div class="inner clearfix">
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (0, 1); ?>
    </div>

    philipgillen Friend
    #325515

    Working now. Thank you very much.

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

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

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