We have setup a site (http://181.224.148.90/~bihaandb/) with two menues and want to display them both as maga menues. I have created a module which gets the megamenu code, but it just gets the default “mainmenu”. My other menu is called “menu-2” which I want displayed in the module position “sekundar-menu”.
I have inserted this code which displays the default menu. How would I change this, if possible, to display my other menu and have 2 mega menus with different content
<div class="container">
<div class="row">
<nav id="t3-mainnav" class="col-sm-6 col-md-9 pull-right navbar navbar-default t3-mainnav">
<div class="t3-navbar navbar-collapse collapse">
<jdoc:include type="<?php echo $this->getParam('navigation_type', 'megamenu') ?>" name="<?php echo $this->getParam('mm_type', 'menu-2') ?>" />
</div>
</nav>
</div>
</div>
I know I could also just buy a mega menu module extension and use this, but then I would have to spend time styling this. Hence it would be easier if I could just have to different mega menus on the same page.