MainMenu position is not a standard module position - it is reserved for build in template menu system.
If you would like to completely remove build in menu system and replace it with another, you would need to edit file /layouts.default.php and place custom module position instead of "PLACE CUSTOM MODULE HERE" text:
- Code: Select all
<header id="gkHeader">
<div>
<div class="gkPage" id="gkHeaderNav">
<?php $this->layout->loadBlock('logo'); ?>
PLACE CUSTOM MODULE HERE
<?php if($this->API->get('menu_type', 'aside') == 'classic') : ?>
<?php if($this->API->get('show_menu', 1)) : ?>
<div id="gkMobileMenu" class="gkPage"> <i id="mobile-menu-toggler" class="icon-reorder"></i>
<select onChange="window.location.href=this.value;">
<?php
$this->mobilemenu->loadMenu($this->API->get('menu_name','mainmenu'));
$this->mobilemenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
</select>
</div>
<?php endif; ?>
<?php if($this->API->get('show_menu', 1)) : ?>
<div id="gkMainMenu" class="gkPage">
<?php
$this->mainmenu->loadMenu($this->API->get('menu_name','mainmenu'));
$this->mainmenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
</div>
<?php endif; ?>
<?php else : ?>
<i id="aside-menu-toggler" class="icon-reorder"></i>
<?php endif; ?>
</div>
</div>
<?php if($this->API->modules('header')) : ?>
<div id="gkHeaderMod" class="gkPage">
<jdoc:include type="modules" name="header" style="<?php echo $this->module_styles['header']; ?>" />
</div>
<?php endif; ?>
</header>
Now, you can disable use of build in menu system in template settings or manually get rid of it in the code.
On how to add custom module position you can read here:
http://www.gavick.com/documentation/joo ... -position/