mainmenu position

GK User
Mon Jun 15, 2015 6:22 pm
So I know in this wonderful template the mainmenu position is not one of the normal selectable positions. https://www.gavick.com/documentation/jo ... -positions

I was truly hoping to be able to load a sticky mega menu into the mainmenu position. I purchased Jux CSS3 mega menu http://www.joomlaux.com/jux-extensions/ ... -menu.html
and was hoping to configure it so that it could be used in that menu position to replace the current menu loading there while retaining the beautiful logo movement that has been programmed in.

Is there any hope of doing so or any direction in where to start?
Any assistance or pointers is greatly appreciated. It seems like Cyberek is the main moderator I see posting for this template at least on the searched posts I read so sending the login that includes superadmin rights to you in case you read this.

Thank you!
User avatar
Fresh Boarder

teitbite
Thu Jun 18, 2015 1:18 pm
Hi

To replace menu with module position edit file /layout/default.php and replace code:

Code: Select all
                    <?php if($this->API->get('show_menu', 1)) : ?>
                    <div id="gkMainMenu" class="gkMenuClassic">
                            <?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 if($this->API->get('show_menu', 1)) : ?>
                    <div id="gkMobileMenu" class="gkPage">
                        <i id="static-aside-menu-toggler" class="fa fa-bars"></i>
                    </div>
                    <?php endif; ?>


with

Code: Select all
<jdoc:include type="modules" name="mainmenu" style="none" />


so a "mainmenu" module position will be created. Unfortunately posting a menu here may require some additional styling which I cannot help You with. We do not support website customisations, sorry.
User avatar
Moderator


cron