Done!
I think this should work:
Have to hack customer/vote.php. Insert the line
$smarty->assign ("vote_total", $vote_result["total"]);
Code:
.....
.....
$vote_max_cows = floor ($vote_result["rating"]);
$vote_little_cow = round (($vote_result["rating"]-$vote_max_cows) * 4);
$vote_free_cows = 5 - $vote_max_cows - (($vote_little_cow==0) ? 0 : 1);
$smarty->assign ("vote_max_cows", $vote_max_cows);
$smarty->assign ("vote_little_cow", $vote_little_cow);
$smarty->assign ("vote_free_cows", $vote_free_cows);
###################variable for votingtotals
$smarty->assign ("vote_total", $vote_result["total"]);
###################end
.....
.....
Next open /modules/Customer_Reviews/vote.tpl and insert:
{$lng.lbl_votetotal_1} {$vote_total} {$lng.lbl_votetotal_2}
after the stars:
Code:
.....
.....
{section name=free_cows loop=$vote_free_cows}
[img]{$ImagesDir}/star_0.gif[/img]
{/section}
{$lng.lbl_votetotal_1} {$vote_total} {$lng.lbl_votetotal_2}
</TD></TR>
{/if}
....
....
Well and then open the language in the admin-section and add two new fields:
Code:
lbl_votetotal_1 | Based on | Based on
lbl_votetotal_1 | reviews | reviews
Think this is right
Cheers,
mickna