Integration with Easyblog

Please make sure you have enabled the jLike Easyblog Plugin from backend plugin manager. 

To show C
omments

  • Turn on commenting option from jlike easyblog plugin.¬†

To show like/dislike buttons on categories list view( the view on which all categories are shown):

  1. File to  override :components/com_easyblog/themes/default/blog.categories.php
  2. Code to put on Line number : 56  (Please make sure you embed this code in php start and end  tags if needed.)
//Start-Integtation with Jlike 
					$dispatcher = JDispatcher::getInstance(); 
					JPluginHelper::importPlugin('content','jlike_easyblog'); 
					$response=$dispatcher->trigger('AfterEasyblogTitle',array('com_easyblog.categories.listings',$category)); 
					if(!empty($response['0'])) 
					echo $response['0']; 
					
		//End-Integration with Jlike 

 

After following these instruction the like/dislike buttons will be shown below each category title in the listing view


To show like/dislike buttons on categories detailed view( the view on which a category and its belonging blogs are shown)

  • ¬†show jlike buttons below category title :
          1.File to  override :  components/com_easyblog/themes/default/blog.category.php
          2.Code to put line number:30 (Please make sure you embed this code in php start and end  tags if needed.)
//Start-Integtation with Jlike 
					$dispatcher = JDispatcher::getInstance(); 
					JPluginHelper::importPlugin('content','jlike_easyblog'); 
					$response=$dispatcher->trigger('AfterEasyblogTitle',array('com_easyblog.categories.listings',$category)); 
					if(!empty($response['0'])) 
					echo $response['0']; 
					//End-Integration with Jlike 

 

  • ¬†Show like.dislike button below blog title ¬†

            We need not to modify any code for this. jLike Easyblog Plugin will take care of this

To show like/dislike buttons on each blog detailed view( the view having a blog)

          We need not to modify any code for this. jLike Easyblog Plugin will take care of this.