![]() |
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 |
Can you put the whole of the tpl code in as the answer does not appear to be here.
The form action specified would not open it in a new window. |
Hi Funkydunk
the full tpl is Code:
{* $Id: product.tpl,v 1.57 2002/09/25 12:39:40 zorg Exp $ *} |
All times are GMT -8. The time now is 08:34 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.