Difference between revisions of "Making the core rating system work on JReviews pages"

From JReviews Documentation
Jump to: navigation, search
(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…')
 
Line 1: Line 1:
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.  
+
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.
+
If you want to use both core ratings + JReviews on the same pages, then you need to edit one of the JReviews files.
  
 
*<span style="color: blue">/components/com_jreviews/jreviews/controllers/com_content_controller.php</span>
 
*<span style="color: blue">/components/com_jreviews/jreviews/controllers/com_content_controller.php</span>

Revision as of 09:04, 16 February 2010

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