JReviews - HikaShop Compatible?

  • Posts: 392
  • Thank you received: 0
12 years 10 months ago #15671

G'day,

Does JReviews work with HikaShop?

I have downloaded the free trial, but can't figure out how to install the thing!

Anyone have it working with HS? Looks like an awesome component for reviews and social intehration etc.

www.reviewsforjoomla.com/jreviews

Cheers :)

Please Log in or Create an account to join the conversation.

  • Posts: 81379
  • Thank you received: 13037
  • MODERATOR
12 years 10 months ago #15674

There is no integration with HikaShop. Looking at the documentation, it doesn't seem difficult to add to your views:
docs.reviewsforjoomla.com/downloads/ever...ywhere_2.0_Guide.pdf

You need to have the everywhere addon installed. Then, in the file show of the view product that you can edit via the menu Display->Views, you can add the code below at the end of the file in order to display the jreviews stuff:

require_once( 'components' . DS . 'com_jreviews' . DS . 'jreviews' . DS . 'framework.php' );
$JreParams = 'com_hikashop';
$JreParams = '';
$JreParams = 'everywhere';
$JreParams = 'index';
$JreParams = $this->element->product_id; //if you have variants, it's $this->element->main->product_id
$Dispatcher = new S2Dispatcher(’jreviews’,true);
$jreDetail = $Dispatcher->dispatch($JreParams);
echo $jreDetail[‘output’];


For the listing of products, it's the code below that you would have to add in one of the file listing_* of the view product (the name of the layout file depends on your settings):
require_once( 'components' . DS . 'com_jreviews' . DS . 'jreviews' . DS . 'framework.php' );
$JreParams = 'com_hikashop';
$JreParams = '';
$JreParams = 'everywhere';
$JreParams = 'category';
$JreParams = $row->product_id;
$Dispatcher = new S2Dispatcher(’jreviews’);
$jreDetail = $Dispatcher->dispatch($JreParams);
echo $jreDetail[‘output’];

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
12 years 10 months ago #15675

Sweet!

Thanks so much :) You always go out of your way to help us all - very cool :)

Cheers

Please Log in or Create an account to join the conversation.

  • Posts: 152
  • Thank you received: 0
12 years 8 months ago #21315

Has anyone managed to get this working?


Create your own style of luxury bespoke furniture online

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
12 years 8 months ago #21316

Nope, it completely broke my site :(

Please Log in or Create an account to join the conversation.

  • Posts: 81379
  • Thank you received: 13037
  • MODERATOR
12 years 8 months ago #21328

You should ask JReviews support about the problem then. Note that it won't work without everywhere addon of JReviews installed.

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
12 years 8 months ago #21379

Oh it is all fixed now, but it did cause of lot of dramas, and no one could figure out why. A shame, but I'm quite happy with jcomments :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum