If you want to hide Sub Menus instead of Menu then simply go through these steps:
Trick for JSPT3.4 Version
$fields = $jsModel->getMenu(null, $pagination->limit, $pagination->limitstart);$fields = $jsModel->getMenu(null, $pagination->limit, $pagination->limitstart, false);$fields = $this->getModel()->getMenu();$fields = $this->getModel()->getMenu(null,null,null,false);$result = $jsmodel->getMenu($menuid);$result = $jsmodel->getMenu($menuid,null,null,false);$menus = $this->getMenu();$menus = $this->getMenu(null,null,null,false);Trick for Lower Version of JSPT3.4
$result = $query->select('*')
->from('#__menu')
->where(" `menutype` = 'jomsocial' and `parent` = 0")$result = $query->select('*')
->from('#__menu')
->where(" `menutype` = 'jomsocial' and `parent_id` = 1")$result = $query->select('*')
->from('#__menu')
->where(" `menutype` = 'jomsocial'")$result = $query->select('*')
->from('#__menu')
->where(" `menutype` = 'jomsocial'")| Sitemap | Support Policy | Refund Policy | Payment Plans | Company | License | Contact Us | Joomla Paid Membership Extension |
Copyright © 2008-2012 JoomlaXi. All Rights Reserved. The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. JoomlaXi.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
Comments (0)