Making the core rating system work on JReviews pages

From JReviews Documentation
Jump to: navigation, search

By default JReviews disables core ratings in the categories where it is used to avoid duplicate ratings (core + JReviews) if you have enabled core ratings in Joomla to use outside of JReviews.

If you want to use both core ratings + JReviews on the same pages, then you need to edit two JReviews files.

To enable core ratings for listings on Joomla category pages, edit this file:

  • /components/com_jreviews/jreviews/controllers/com_content_controller.php

Comment out this line (it exists on several different places in the file):

$content_row->params->set('show_vote',0);


To enable core ratings for listings on listing detail pages, edit these file:

  • /components/com_jreviews/jreviews/cms_compat/joomla/includes/plugins/jreviews.php
  • /components/com_jreviews/jreviews/cms_compat/joomla/includes/plugins/jreviews-joomla4

Comment out this line:

$params->set('show_vote',0);