By fatfish on
Hi.
I’m working on a project where complicated content types are involved. When a user needs to edit them he goes trough wizard with few different forms, some are partial node_form and other are custom forms for some calculation.
I do not like to display the "old" edit/view link on top of the page. I also like go disable the link 'node/x/edit' to keep users from messing up with the content (they have other links like 'node/x/details, node/x/policies, node/x/gallery etc.'
How can I change programmatically the menu type from MENU_LOCAL_TASK to MENU_CALLBACK and is it possible (and safe) to remove it at all?