vote.tpl in popup window
Hi i'm having a problem with customer review section on the product.tpl, basically my product template now opens in it's own window so when you try to rate a product it loads the entire page in the popup window instead of just updating the review with the specific product. Here's the code for the vote tpl i think it's to do with the form action, just need to know what to change it to so whole site doen't upload in the window
<FORM method=GET action="../customer/product.php">
<INPUT type=hidden name=mode value=vote>
<INPUT type=hidden name=productid value={$product.productid}>
<tr><td colspan=2>
<font class=ProductDetailsTitle>{$lng.lbl_customers_rati ng}</font>
</td></tr>
<tr><td class=Line height="1" colspan=2>[img]{$ImagesDir}/orangespacer.gif[/img]</td></tr>
{if $vote_max_cows ne ""}
<TR>
<TD>
{$lng.lbl_customers_rating}</TD>
<TD>
{section name=full_cows loop=$vote_max_cows}
[img]{$ImagesDir}/star_4.gif[/img]
{/section}
{if $vote_little_cow ne "0"}
[img]{$ImagesDir}/star_{$vote_little_cow}.gif[/img]
{/if}
{section name=free_cows loop=$vote_free_cows}
[img]{$ImagesDir}/star_0.gif[/img]
{/section}
</TD></TR>
{/if}
<TR>
regards
jon
|