Making the core rating system work on JReviews pages

From JReviews Documentation
Revision as of 09:03, 16 February 2010 by Jreviews (Talk | contribs) (Created page with '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 outsid…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 one of the jReviews files.

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

Comment out these lines:

$content_params->set('show_vote',0);
$content_params->set('rating',0); // J1.0.x & Mambo 4.6.x