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 mfgr on
Hi,
Is it possible to extend the Drupal login for users, so that they can edit their own profile page? I'd love to know a few steps to implement something like that without too much hassle.
Kind regards,
Marcel.
Comments
You can not know which
You can not know which profile to edit till after the user has logged in.
I know, but there must be a
I know, but there must be a way I guess, otherwise the page https://www.drupal.org/u/mfgr wouldn't exist.
That is your profile page and
That is your profile page and you can edit it once you log in. Till you log in, Drupal does not know who you are so it would not know who's data should be edited.
Okay, so I should rephrase my
Okay, so I should rephrase my question I guess: how do I create such a profile page on my own site, so that users can make (or edit) it once they've logged in?
In many cases simply adding
In many cases simply adding fields to the user object will do the trick, visit Configuration >> Account Settings >> Manage Fields (tab).
For more complex cases there is the profile2 module.
Thank you! This is exactly
Thank you! This is exactly what I was looking for. I never imagined it would be that simple... !!!