Integration with Jcomments
Â
1)Enable jLike jcomments Plugin from backend
2)Find these two lines of site/components/com_jcomments/tpl/tpl_comment.php around 104Â
Please make sure you embed this code in php start and end tags if needed.
//show frontend moderation panel $this->getCommentAdministratorPanel($comment);
And replace with
//Start jlike integration $jlikeparams=array(); $jlikeparams['url']=$thisurl.'#comment-'.$comment->id; $jlikeparams['id']=$comment->id; if($comment->comment) $jlikeparams['title']=$comment->comment; else $jlikeparams['title']=$comment->author; $dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('jcomments'); $grt_response=$dispatcher->trigger('onAfterdisplayJcomment',array('jcomments.comment',$jlikeparams)); if($grt_response[0]) echo $grt_response[0]; //End jlike integration
Â
Â