0
votes

I have no need for the node "view" screen/tab for certain types of content.
Instead, when a user goes into /node/nid I wish to show the node edit form.

Any ideas on how I do that?

thanks,
Omer.

1
I am not sure it's a good idea. First, not all users can edit a form, but possibly all users can see a node (if anonymous users cannot see nodes, then it doesn't make sense to create a site, if not in the case the site is thought to be seen from a restricted number of users); second, there could be a numbers of other tabs, together with the tab View, that would be anymore accessible. - apaderno
thanks, but in the site I am working on it does makes sense, in certain cases. - Omer

1 Answers

1
votes

A way to do it, would be to use hook_menu_alter to change the node/[nid] menu item and call you own function. In that function you could check the node type and either call the function used to display the node or the one used to display the node form.