Making the core rating system work on JReviews pages

From JReviews Documentation
Revision as of 10:43, 6 April 2013 by Jreviews (Talk | contribs)

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_params->set('show_vote',0);


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

  • /components/com_jreviews/jreviews/includes/plugins/jreviews.php

and comment out the same line as above.