By dfwgreg on
I'm fairly new to PHP but i'm starting to get the hang of it.
I'm creating a new login and i'm using this
print l($user->edit account,'user/'.$user->uid);
with the user name going to the account options
My question is how do I change the script to read out" Edit Account" instead of showing the user name?
Thanks,
Greg
site: controlaltdelete.tv
Comments
Small change
This should do it, the 't' function call makes it translatable.
awesome . . . one more thing
in the script
it goes to /?q=user/1, how do i make it go to /?q=user/1/edit?
thanks again,
greg
Small change
Here you code, link to edit instead of users node
never mind
never mind, gigured it out!
Thanks for the help,
Greg
custom login, Part 2
never mind, figured it out!
Thanks everyone for your help!
Greg