Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • bossies Friend
    #187937

    is it possible to have 2 main menu’s one below the other – i want to have the main menu as it would be, then i want a completely different menu below the main menu – at the moment i doing it with a module but i just like to know if there might be a way to do it with t3 layout in the template or something as i could like to have the same styling on the menu’s

    bossies Friend
    #494821

    i had a look in the blocks directory you have mainnav.php – could you maybe add a menu manually in here to get the 2 menu’s that i would want?

    defined(‘_JEXEC’) or die;
    ?>

    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    <!– jdoc:include type=”menu” level=”0″ / –>

    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
    <div id=”ja-subnav” class=”clearfix”>
    <?php $jamenu->genMenu (1); ?>
    <!– jdoc:include type=”menu” level=”1″ / –>
    </div>
    <?php endif;?>

    <ul class=”no-display”>
    <li><a href=”<?php echo $this->getCurrentURL();?>#ja-content” title=”<?php echo JText::_(“SKIP_TO_CONTENT”);?>”><?php echo JText::_(“SKIP_TO_CONTENT”);?></a></li>
    </ul>

    phong nam Friend
    #494850

    Hi,

    The best solution in your case is creating a positon after main menu, then create a Menu module at new position.

    Leo

    bossies Friend
    #494867

    ok – i have done this with normal module and css menu – still like to know if this is possible to manually code a extra menu below the main menu

    phong nam Friend
    #494946

    Hi,

    <blockquote>still like to know if this is possible to manually code a extra menu below the main menu</blockquote>
    If you apply above extra codes, there will be two same main menus in one page.
    It looks not good.

    Leo

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

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

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