How can I put a link / menu in the edit-user-profile page, in the upper right corner? This link will open a new page with a form created. I've been watching a few examples but I could not understand.Sorry for the question, the more I'm starting.

closed as too broad by Mołot, Free Radical, Anil Sagar, mpdonadio May 6 '14 at 0:09

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Hello and welcome. Answer depends on many factors you didn't tell. Most important is what theme are you using? What have you tried? Are you subtheming yet? Have you followed similat questions and to what effect? – Mołot May 4 '14 at 15:04
  • The theme is scratch, I've tried to use hook_menu (), but got no effect, but as a beginner I'm not sure if it is the best way to hook_menu. – user1993942 May 4 '14 at 15:20
  • Please read the older question I linked. I'm pretty sure it already shows you a pretty good way. – Mołot May 4 '14 at 15:32

Assuming your problem is with the link and not the form, I have done the following to accomplish something similar in the past:

  • create a new block
  • enter the link information in the block (you can also do this with a straight menu and use a block menu module)
  • put the block in the appropriate section of the page where you want it to appear
  • restrict it to only "user/*/edit" pages

Not the answer you're looking for? Browse other questions tagged or ask your own question.