开发者

Drupal: how to add menu link to password change?

开发者 https://www.devze.com 2022-12-31 21:13 出处:网络
Do You have any idea how to easily add a menu link \"Change Your password\" that would lead to Edit Profile page?

Do You have any idea how to easily add a menu link "Change Your password" that would lead to Edit Profile page?

I can programmatically add it, but I hoped that in the Admin Panel I could add a link, like [drupal]/user/edit that would redirect me to [drupal]/user/[id]/edit.

The best solution that comes to my mind is to create a site i.e.[drupal]/password that would contain a code adding user id and redirecting to its profile edit page.

But maybe You know a solution that would work out of the box?

PS It seems that often Drupal makes complex things easy, but sometimes it does the other way round. ;-开发者_运维知识库)


The me module solves this.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号