Try this one,
Open product.tpl on catalog/view/theme/YourTheme/template/product
put this code
After this code
Then put this code
Before this code
Good Luck 
Open product.tpl on catalog/view/theme/YourTheme/template/product
put this code
Code: Select all
<a id='reload'>Reload Captcha</a>
Code: Select all
<img src="index.php?route=product/product/captcha" alt="" id="captcha" /><br />
Code: Select all
$('#reload').click(function(){
d = new Date();
$("#captcha").attr("src", "index.php?route=product/product/captcha/?"+d.getTime());
})
Code: Select all
$('#review').load('index.php?route=product/product/review&product_id=<?php echo $product_id; ?>');

Hey, this works but only in the product page. How about making the Captcha image clickable so when you click the image it is reloded?
Thank you for your help.
Thank you for your help.
Change this code
with this code
Code: Select all
<img src="index.php?route=product/product/captcha" alt="" id="captcha" />
Code: Select all
<a id='reload'><img src="index.php?route=product/product/captcha" alt="" id="captcha" /></a>
Open contact.tpl on catalog/view/theme/YourTheme/template/information
Find this code
Replace with this code
Then Put this code
Before this code
Find this code
Code: Select all
<img src="index.php?route=information/contact/captcha" alt="" />
Code: Select all
<a id='reload'><img src="index.php?route=information/contact/captcha" alt="" id="captcha"/><a/><br />
<a id='reload'>Refresh now</a>
Code: Select all
<script type="text/javascript"><!--
$('#reload').click(function(){
d = new Date();
$("#captcha").attr("src", "index.php?route=information/contact/captcha/?"+d.getTime());
})
//--></script>
Code: Select all
<?php echo $footer; ?>
Thank you for your help, i now got all the Captcha working as a want it to.
Thank you.
Regards.
Patrik Iden.
Thank you.
Regards.
Patrik Iden.
Hi,
I also got good ideas about captcha by reading posts. I tried and it's working.
Thank you
I also got good ideas about captcha by reading posts. I tried and it's working.
Thank you
Who is online
Users browsing this forum: No registered users and 10 guests