replace Menu by module position

Support help forum dedicated to free and commerical templates for Joomla 3 and 2.5 version.
GK User
Mon Nov 05, 2012 3:56 pm
I use the MyStore Template and I need Main menu and would not like this by modules a position to replace. I must change which file.

Friendly greetings
Bernd
User avatar
Fresh Boarder

GK User
Tue Nov 06, 2012 8:56 am
You need to modify file nav.php from template/layouts/blocks directory. Code which is loading menu you will find in line 94-97 :

Code: Select all
         $this->menu->loadMenu($this->getParam('menu_name','mainmenu'));

          $this->menu->genMenu($this->getParam('startlevel', 0), $this->getParam('endlevel',-1));


and it should be replaced with your load position rule.
User avatar
Platinum Boarder


cron