I'd like to be able to provide users with a nice url/link to edit portions of their profile from a page they see when they log in. I don't think clicking on My Account > edit > and then finding those little page links is very intuitive. Of course the url in question that I'd like to alias includes their user number.

So how do I provide a link on a page that brings up /user/THEIR_USER_NUMBER/edit/myprofilepage?

Comments

blarg’s picture

Using the PHP input method you can get away with:

It would be a good idea to <a href="/user/<?php
global $user;
echo $user->uid;
?>/edit">put a picture in your profile</a> if you have one.

So wherever you want that user number just throw the two lines of PHP and voila.

rubyji’s picture

Thank you, Blarg. This was just the hack I needed!