Elxis CMS Forum

Extensions => Templates => Topic started by: LT-user on March 22, 2008, 16:29:27

Title: ElxLoadModule Other menu
Post by: LT-user on March 22, 2008, 16:29:27
Hi,

I can't find module which load othermenu on template. To load main menu I use ElxLoadModule('mod_mainmenu' -2);
when I load MosLoadModule('left'-2); there are main meniu, other menu, login an all shit.. :-\  but I need main menu and other menu, that's it.

Can someone hlep ?  ???
Title: Re: ElxLoadModule Other menu
Post by: Ivan Trebješanin on March 22, 2008, 16:49:08
Hi LT,

If you want to call different menus into one position, it is best to use mosLoadModules('left',-2); as you suggested. Then you go to admin->modules->site moodules and publish what ever you want into that position (main menu and other menu or... anything you want).
elxLoadmodule(); should be used for specific situations.

PS
I don't know if it was typing mistake, but you wrote mosLoadModule('left'-2); instead of mosLoadModules('left',-2);
Title: Re: ElxLoadModule Other menu
Post by: LT-user on March 22, 2008, 16:55:07
it was a mistake sorry  ::)
Title: Re: ElxLoadModule Other menu
Post by: LT-user on March 22, 2008, 18:49:34
Thanx Ivan Trebješanin, you ar GOD  8)