is ti possible to add stars to a rating template?
(the client want rating from 1 to 10)
in default rating template php fiel I see this code
<script type="text/javascript" language="javascript">
newRating<?php echo $key?> = felixRating.newRating( '<?php echo $vars->rating_ident; ?>_rateBox', <?php echo $vars->rating_active; ?> );
newRating<?php echo $key;?>.setStars( { "14" : '<?php echo JText::_("VOTE_AUWFL")?>',
"28" : '<?php echo JText::_("VOTE_BAD")?>',
"42" : '<?php echo JText::_("VOTE_NOTGOOD")?>',
"57" : '<?php echo JText::_("VOTE_FAIR")?>',
"71" : '<?php echo JText::_("VOTE_GOOD")?>',
"85" : '<?php echo JText::_("VOTE_FERYGOOD")?>',
"100" : '<?php echo JText::_("VOTE_EXEL")?>' } );
newRating<?php echo $key;?>.setCurrentStar( "<?php echo $vars->rating_current; ?>" );
newRating<?php echo $key;?>.setIndex(<?php echo $vars->index?>);
<?php if( $vars->callbackfunction ){ ?>
newRating<?php echo $key;?>.setSedingFunction( <?php echo $vars->callbackfunction; ?>, '<?php echo $vars->prod_id; ?>' );
<?php } ?>
</script>
do I just have to add values to this part
"28" : '<?php echo JText::_("VOTE_BAD")?>',
"42" : '<?php echo JText::_("VOTE_NOTGOOD")?>',
"57" : '<?php echo JText::_("VOTE_FAIR")?>',
"71" : '<?php echo JText::_("VOTE_GOOD")?>',
"85" : '<?php echo JText::_("VOTE_FERYGOOD")?>',
"100" : '<?php echo JText::_("VOTE_EXEL")?>' } );
or this won't work?
is ti possible to add stars to a rating template?
(the client want rating from 1 to 10)
in default rating template php fiel I see this code
do I just have to add values to this part
or this won't work?