hi

I want to have dynamic menu, not DHTML :) I would like to know how to built menu for user profile.
I want to have a link to "My account page" in the user menu. But every user has his own drupal ID.
I know that I can't use static path like user/%user - it dosen't work

I know I should use some php snippet for such task, but what snippet and second question where to put it
in Drupal? I would like to have this snippet in menu block to add this block to one of region in my template.

Comments

WorldFallz’s picture

Checkout the http://drupal.org/project/me module.

jpshayes’s picture

Me Aliases module is great. I use it a lot. But, if you simply need a "My account" link There is a "my account" link in the default navigation menu. You can edit that menu item and place it in any menu you want.

But if you want to create more dynamic links around UID, like "edit my account" (http://example.com/user/UID/edit) Me Aliases works great.