I want to create custom menus.

I created dashboard named menu, now i want to provide links under dashboard menu,

i created one link named myprofile.

and it is asking for path. i want to link it with user edit page who is logged in.

I have no idea regarding this.

Does anybody have idea regarding this.



If you want to give user view page then this :

1) You need to give path as user. That will take you to the currently logged-in user account.

Or if you want go to view edit page:

2) You can use menu token module to give path as user edit page.You can use the token replacements to get to the user edit page.Hope this helps you.

3) You can use user/[current-user:uid]/edit once you have the menu_token module installed.But i dont know why its not working.

You can try installing me aliases module and give path as user/me/edit. This will give option for editing user account.Hope this resolves your current issue.

  • it goes to user view page. i want to go to on edit page – Rashmi Jul 26 '13 at 4:35
  • Most Welcome :) – Ram Jul 26 '13 at 4:58
  • i tried to add in path user/[user:uid] . it shows this error The path 'user/[uid]/edit' is either invalid or you do not have access to it. – Rashmi Jul 26 '13 at 5:24
  • 1
    @rashmi: see my updated answer,the 3 point. Hope it helps you. – Ram Jul 26 '13 at 6:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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