![]() |
Security Image "click here" link not working right
On my "contact us" page towards the bottom where it says "If you can't read the word, click here" for the security image to change; when you click the link it reverts back to the home page instead of changing the image, but during the registration process if you click the link to change the security image it works. Why does it work on the registration page but not the contact page?
|
Will you try this. Open the contactus template file and replace the first part of that link:
Code:
<a href="#"Code:
<a href="javascript:;" |
That did not work. It actually didn't do anything.
|
Try clearing the contents of /templates_c
|
Try this:
Code:
<a href="javascript:void(0);" |
Sorry, but that didn't work either...
|
Ok I think I see the problem. Open the template file contact/contactus.tpl.php and locate this line:
Code:
alert("{/literal}{$smarty.const.LANG_CAPTCHA_ERROR}{literal}");Code:
alert("Sorry, cannot autoreload freecap image\nSubmit the form and a new freecap will be loaded"); |
Great. That worked. Thanks for your help.
|
Wait a minute, I know this feature used to work in 3.1.4 so why are we removing it now? Submitting the form to reload a new word will seem a bit unfinished to the end user.
|
This doesn't remove it. However it just manually adds the text to the alert box. The language file includes a /n in that string and that was causing the problems.
I really should have suggested changing it there. |
| All times are GMT -4. The time now is 05:25 PM. |
Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.