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.
Hi everyone,
I'm looking for external help after open this support request and chat with some guys in freenode but noone can't help me to solve this (may be stupid?) problem.
When I'm trying to save the settings in (http://example.com/admin/settings/me) and change the default 'me' to '[user-name]' I'm getting this error message: The alias can only contain characters from a-z and A-Z, or one of the tokens specified in the "Replacement patterns for me alias" section.
I do not know what to do to fix ... that?
Thanks from Spain.
Comments
Comment #1
gregoiresan CreditAttribution: gregoiresan commentedI guess it might be a limit from the module. Tokens are not working as replacement pattern. But you can write a constant word. I put 'moi' in French. So, may be you write 'mi' in spanish. I think it is the only solution for now as the maintainer is not answering issues anymore.
Comment #2
killua99 CreditAttribution: killua99 commentedYes I actually try with a word w/o the [user-name] (ex: "asdasd") and that works well, So if the Token is not working as replacement who is working ?(jk). So the code need to be "hacked" ? or something like that? I was thinking is something wrong with the validation submit.
Comment #3
gregoiresan CreditAttribution: gregoiresan commentedYou're probably right. And unfortunatly, I can't help u with the code as I'm not coder (it might be 100 times I'm saying it, I should learn...)
However, I have an alternative to your problem.
If I understand, you want the user-name instead of me, right ? So, you can achieve this by using "Subpath_alias" and "url_alter" modules.
What I did is:
uninstall 'me' aliases
install url_alter
install subpath_alias
install 'me' aliases
check the 'redirect to uid' option in the settings section of 'me' aliases
With this configuration you can use me in menus but actually see the username in the url.
Comment #4
fehin CreditAttribution: fehin commentedUsing user/me/blog took people to username/blog on my site. So this works fine.
Comment #5
nohup CreditAttribution: nohup commented