Hi everyone, I have using phpmaker for a while and I really appreciate it as a great tool for code generation.
However I have a requirement of removing the Logout and Change Password items from the menu.
I am going to actually use icons some where on the page.
How can I accomplish this? I have been trying to use the Menu_Rendering function but i am not yet successful.
Kindly rescue me. Thanks
How to remove a menu item
-
- User
- Posts: 1
- Location: Kampala, Uganda
How to remove a menu item
-
- User
- Posts: 416
- Location: Nürnberg/Germany
Add in function MenuItem_Adding
if ($Item->Id == -2)
return false;
To view the whole menu array use
print_r($item);