Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By kalashari on
Hi all,
let's say http://somesite.com/kalashari is URL alias for http://somesite.com/user/1
My question is how do I make a menu link that will take you to a user page (to http://somesite.com/kalashari)?
thanks in advance
Comments
I meant a link that will
I meant a link that will always take user to his/her page (http://somesite.com/username)
?q=user
I think http://www.example.com/user (or simply 'user') would always link to the current user's profile page, or to the login page if they are an anonymous user.
me aliases
what about this: http://drupal.org/project/me
now I can't figure out how
now I can't figure out how to make so that a menu item with path "person/me" points to "person/kalashari"... right now "person/me" points to "person/uid", like "person/1"