I would like to use the node-menu (see image) on a page in Drupal.

Is this possible and, if yes, how?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the page you are referring is a custom page output from your module, and “mymodule/page” is the path for that page, for which you want the tabs “View” and “Edit,” then you should implement
hook_menu()using code similar to the following one:If the page you are referring is a page that is shown at example.com/mymodule/page, and that should show what you see at example.com/node/7, then you can implement the following code, in Drupal 7:
The equivalent for Drupal 6 is writing the following code in the settings.php file:
I didn’t write the symmetric code for
hook_url_outbound_alter(), andcustom_url_rewrite_outbound()as I suppose you are not interested in rewriting example.com/node/7 to make it appear as example.com/mymodule/page, but you are interested in making appear example.com/mymodule/page the same as example.com/node/7.