By Niccolo Angeli on Thursday, 07 June 2018
Posted in Technical Issues
Likes 0
Views 1.1K
Votes 0
Hello,
I noticed that the comment sharing link is a relative url,
/shop/prodotto/il-potere-della-visione#comment-141,0
it's also somewhat hard to select and copy, the window disappears when I try to select it. Maybe the link icon was supposed to be clickable and automarically copy the link?
Test on your side if you can

Thanks
Hi Nicollo,

Kindly find my response for your inquiries below:
I noticed that the comment sharing link is a relative url,
/shop/prodotto/il-potere-della-visione#comment-141,0

I've tried to reproduce this issue in our side, seems the link shows correctly with absolute link/url http://take.ms/JERzl

it's also somewhat hard to select and copy, the window disappears when I try to select it. Maybe the link icon was supposed to be clickable and automarically copy the link?

You can easily copy the comment link by right click mouse>copy link address as shown: https://www.screencast.com/t/6SfEG05BL
·
Friday, 08 June 2018 10:19
·
0 Likes
·
0 Votes
·
0 Comments
·
I tested a bit more.
This only happens if the comments is posted in a an Hikashop product page.
You do not support Hikashop on your side, but Hikashop developer have integrated Komento on their side, it's probably some kind of conflict.

Are you willing to investigate and try to fix this since you do not support Hikashop?
I'll post access details and additional info in the main topic.

Thanks
·
Friday, 08 June 2018 15:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Looking at their code, it looks like they are calling the following:


$this->_item->permalink = hikashop_contentLink('product&task=show&cid=' . $this->_item->product_id.'&name='.$this->_item->product_alias, $this->_item);


Perhaps you could edit the file /components/com_komento/komento_plugins/com_hikashop.php and try to replace it with,


$this->_item->permalink = $this->prepareLink(hikashop_contentLink('product&task=show&cid=' . $this->_item->product_id.'&name='.$this->_item->product_alias, $this->_item));
·
Friday, 08 June 2018 17:38
·
0 Likes
·
0 Votes
·
0 Comments
·
That works, thank you!
·
Friday, 08 June 2018 18:02
·
0 Likes
·
0 Votes
·
0 Comments
·
You're 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
·
Friday, 08 June 2018 18:13
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post