Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
user system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2008 at 14:17 UTC
Updated:
5 May 2009 at 22:43 UTC
Dear Drupal devel,
I always have a problem from Drupal 4x to the current version.
The problem is, when I always create new link for current user.
e.g: If I want create "Edit My Account" link from the "menu" administrator, I just enter the URL below, so it will be generated to the edit user account page.
http://www.mysite.com/user//edit
Regards,
Mobo
Comments
Comment #1
keycoke commentedSorry, the URL is: http://www.mysite.com/user/[username]/edit
When the [username] will be generated to the current username.
Regards,
Mobo
Comment #2
melat0nin commentedThis does not work for me.
I'm am trying to get this URL to work:
http://sub.domain.co.uk/contributor/[username]/
...but it doesn't. Any thoughts?
Comment #3
pasqualleComment #4
sunYou can put this into a custom module on your Drupal site:
- in D5, put it into hook_menu(), where $may_cache is FALSE.
- in D6, put it into hook_init().