Hi,
This question is bit specific to joomla.
I know if with the code $menu = &JSite::getMenu()
I can get the reference object of the complete menu. But how can i get a specif menu based on the name?
My Scenario : I have footer-menu with items : home | about us | rules | privacy policy.
I need to display links to two menu items Rules and privacy policy in a component. I cannot hard code the links, as the itemid would be different in development and production environment.
Do we have some workaround like $menu = &JSite::getMenu()->get('footer-menu')->getMenuItem('rules');
which can give me refrence object to a particular menu item, from which I can create my links for that particular article.
Thanks, Tanmay