What would be the best way to hide certain menu items for certain member groups? For example, on the myaccount.php page I’d like to only leave ‘edit profile’... And also remove the access to the other pages to that member group.
My idea now is to modify _account_menu.php so that some menu items are not shown, depending on the group_id of the user. In this case, I would have some kind of ‘if’ variable, and hide for example this line:
Is there a better way?