By jesus on Wednesday, 17 July 2013
Posted in General Issues
Replies 2
Likes 0
Views 2.6K
Votes 0
Hi,

you have upgrade your forum and I can't see your reply in the previous post so I open this. Our previous conversation was:

"I'm trying to integrate komento with a component called guru.
It's working fine except the permalinks in notifications emails and jomsocial stream (in the comment forms permalinks are ok)
With k2 integration all works fine, so maybe I've have made something wrong.

The right contentPermalink is:
http://www.guitarraenunclic.com/index.php?option=com_guru&view=gurutasks&catid=2&module=5-introduccion&cid=9-que-voy-a-aprender-en-este-curso&Itemid=102
and the right commentPermalink is for example:
http://www.guitarraenunclic.com/index.php?option=com_guru&view=gurutasks&catid=2&module=5-introduccion&cid=9-que-voy-a-aprender-en-este-curso&Itemid=102#kmt-12

But in the notifications emails the urls are:
http://index.php/?option=com_guru&view=gurutasks&catid=&module=0-&cid=9-que-voy-a-aprender-en-este-curso&Itemid=102

http://index.php/?option=com_guru&view=gurutasks&catid=&module=0-&cid=9-que-voy-a-aprender-en-este-curso&Itemid=102#kmt-12

without the domain and losing data...so 'server not found...'

And in Jomsocial activity stream ( http://www.guitarraenunclic.com/index.php?option=com_community&view=frontpage&Itemid=775 )
the urls are:

http://www.guitarraenunclic.com/index.php?option=com_guru&view=gurutasks&catid=&module=0-&cid=9-que-voy-a-aprender-en-este-curso&Itemid=0

http://www.guitarraenunclic.com/index.php?option=com_guru&view=gurutasks&catid=&module=0-&cid=9-que-voy-a-aprender-en-este-curso&Itemid=0#kmt-3

Have you got any ideas?
Thanks
Jesus"

Your reply :

Hi,

Perhaps you've missed out $this->prepareLink() function call? This function is crucial to JRoute the link properly.

Also, maybe you can upload your plugin file and I will give it a check and see what is wrong?


My new post:

Hi Jason,

I've included $this->_item->permalink_field = $this->prepareLink( $this->_item->permalink_field ); in the plugin file com_guru.php but I've got still the same issue.

Before the call to function prepareLink the value of this->_item->permalink_field is:
index.php?option=com_guru&view=gurutasks&catid=2&module=5-introduccion&cid=9-que-voy-a-aprender-en-este-curso&Itemid=102

After the call to prepareLink the value of this->_item->permalink_field is:
http://www.guitarraenunclic.com/index.php?option=com_guru&view=gurutasks&catid=2&module=5-introduccion&cid=9-que-voy-a-aprender-en-este-curso&Itemid=102

that's right but in the email and in jomsocial the link is still:
http://www.guitarraenunclic.com/index.php?option=com_guru&view=gurutasks&catid=&module=0-&cid=9-que-voy-a-aprender-en-este-curso&Itemid=102

I've attached the plugin file for you to check

Thanks
Jesus
Hello Jesus and Jason,
I would like to integrate Komento with Guru, but I'm not a programmer and do not know how. Could you please explain what I need to do. Thank you very much in advance!

Best Regards,
Milko
·
Monday, 02 February 2015 08:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Milko,

May I know which extension you are referring to? Perhaps an URL to that extension. It is a bit tedious to build a new integration for any extension. However, you can write this request in our Voices page here: http://www.stackideas.com/voices/easyblog and our developers will get back to you.
·
Monday, 02 February 2015 10:16
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post