Jump to content

A common link to see profile or edit profile ?


Saurabh Jain

Recommended Posts

I want give a hyperlink  to a text : My Profile.

 

The problem is that a profile is link is user specific...  

Settings link is not user specific  http://pramanik.gunayatan.org/settings/  

 

What can be such link for accessing profile of the same user accessing the board Currently he is a guests and after clicking on that link he get sign up box and after sign in he is been shown his profile

 

Regards

Saurabh

 

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 year later...

Considering you (@Saurabh Jain and @Rob Pearson) posted this over a year ago, you might have already found a solution to this. But here is how you can do a simple text link to a user profile:

{{if \IPS\Member::loggedIn()->member_id }}
<a href='{member="url()"}' title='Edit your profile'>Edit Profile</a></li>
{{endif}}

I hope it helps you or anyone else looking for something similar. ^_^

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...