By Alexandre Cayer on Thursday, 06 November 2014
Posted in Technical Issues
Likes 0
Views 500
Votes 0
I'm writing a plugin for projectfork to enable ES. I'm almost done. However, the URL isn't complete even so it get to the profile page. It stills however links to the HOME section since I see a sidebar panel enabled only on HOME...

I'm trying to use return JRoute::_('index.php?option=com_easysocial&view=profile&id=' . $id);

Can you help me finish this
Hi,

You might want to add a "itemId" parameter into it?

EasySocial uses an internal router that automatically calculates which is the correct menu item to use. And you for your case, it should be:

FRoute:: profile(array('id' => $id));
·
Thursday, 06 November 2014 12:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Ohhh worked like a charm FRoute::profile(array('id' => $id));

So now ES is working in Projectfork
·
Thursday, 06 November 2014 12:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Alexandre, glad that your issues are resolved now
·
Thursday, 06 November 2014 16:17
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post