By Tony Boutemeur on Saturday, 06 July 2019
Posted in General Issues
Likes 0
Views 542
Votes 0
Hi,

To see the ES Profile from users, I have set this


public function getProfileURL($userid, $task='', $xhtml = true){

$this->user = ES::user($userid);

return $this->user->getPermalink();
}


But, I am interested to go to the 'about' tabs from profile users to be complete.

Could you help me?
Hello Tony,

I am really sorry for the delay of this reply as it is a weekend for us here. If I understand you correctly, you want a direct link to the user's about page correct? If that is the case, this is the code that you could use:


<?php echo ESR:: profile(array('id' => $user->getAlias(), 'layout' => 'about')); ?>
·
Saturday, 06 July 2019 13:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Ok in my case, I rewrited your path for my need and with this code, it works:


public function getProfileURL($userid, $task='', $xhtml = true){

$user = ES::user($userid);

$url = ESR :: profile(array('id' => $user->getAlias(), 'layout' => 'about')); //I have to erase space between ESR :: profile

return $url;


I have build an easysocial integration in Joombri component and I think it works.

Now I have to build some apps for easysocial profile, and a plugin for sharing Joombri item like projects or services in easysocial stream and profile

Thank you for your help.
·
Saturday, 06 July 2019 13:57
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Sunday, 07 July 2019 09:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post