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.
Using Drupal 6.10.
I want to add a link in say primary links to go directly to edit the users profile information. How would I go about doing that?
Thank you.
Comments
Comment #1
balaji.r CreditAttribution: balaji.r commentedHi
Initially all the menus are available in Navigation link only.
Kingly go http://www.YourDomain.com/admin/build/menu-customize/navigation and Find "My account" and click edit link, In that change Parent Item into Primary links.
Comment #2
bentonboomslang CreditAttribution: bentonboomslang commentedI'm also interested in this. I don't think that balaji.r has quite answered the question.
To my understanding Passionate_Lass wanted an "Edit My Profile" link - not a "My Account" link. I.e. one that links to edit a Content Profile created node.
To add this, variables are needed to be included in the link which I don't think is possible using the Drupal interface.
I am in a very similar situation. I want to add a bunch of Secondary links - "My Profile", "My Messages", "My Friends" etc. under a "My Stuff" Primary Link.
I started to try to add some code to page.tpl.php...
...but soon realised that things weren't so simple as I am using the Primary and Secondary links in the "Tabbed Navigation" kind of way i.e. different Secondary links depending on the active Primary link.
Does anyone know how to solve this problem? I presume there are others out there who wanted a "My Profile" link on their sites. How did others work around this?
B
Comment #3
robbertnl CreditAttribution: robbertnl commentedThis topic is old but I am curious how you fixed this. I had the same question.
I just thought that adding node/add/profile to the menu would solve this issue. It redirects to the edit profile page of the user (if a profile page is already made)