I'm trying to make a menu module, but I'm kind of stuck. I want the user to be able to select from several menu's, so that he/she can pick one to be displayed on the page.
I tried it this way:
$menu = JFactory::getApplication()->getMenu($params->get('menutype'));
There's a menutype selection option in the module backend, which I refer to in this code, but this didn't work for me. I can tell I'm starting to do things randomly so I figured I'd ask it here.
So, how can I set it so the user can select their prefered menu?
I'm using J! 2.5