Jump to content

Star Rating Plugin is not recognizing {split:4}


Nishith Nesdiya

Recommended Posts

hi friends

 

i use the ProductComent modules

i need the user enter the half star ratiing...when its give the reviews

 

i include the jquery.MetaData.js in product comment modules

and then i write the code in product.tpl file like as..

<li>
                            <label>{$criterion.name|escape:'html':'UTF-8'}:</label>
                            <div class="star_content">
                                <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="1" />
                                <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="2" />
                                <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="3" checked="checked" />
                                <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="4" />
                                <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="5" />
                            </div>
                            <div class="clearfix"></div>
                        </li>

{split:4} is not working it give the smarty error

How can solve the this problems?

how can provide half star ratting my customer?

can any one help me

thanks.........

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...