Hey guys, I hacked the rating a little bit to show 10 stars. Files need to be modified: components/com_k2/css/style.css components/com_k2/js/k2.js components/com_k2/models/item.php components/com_k2/templates/default/item.php _______________________________________________ components/com_k2/css/style.css if not modified in line 59 change .itemRatingList {position:relative;float:left;width:125px;height:25px;overflow:hidden;list-style:none;margin:0;padding:0;background-position:left top;} to .itemRatingList {position:relative;float:left;width:250px;height:25px;overflow:hidden;list-style:none;margin:0;padding:0;background-position:left top;} _______________________________________________ components/com_k2/js/k2.js line 69 change $('itemCurrentRating' + itemID).setStyle('width', percentage + "%"); to $('itemCurrentRating' + itemID).setStyle('width', percentage/2 + "%"); _______________________________________________ components/com_k2/models/item.php line 435 change if ( $rate >= 1 && $rate <= 5) { to if ( $rate >= 1 && $rate <= 10) { _______________________________________________ components/com_k2/templates/default/item.php starting from line 173 to 178 you'll find this block:
  • 1
  • 2
  • 3
  • 4
  • 5
  • replace it with this:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • Have fun :)