| From | Sent On | Attachments |
|---|---|---|
| robin | Feb 9, 2008 5:42 am | |
| Evergreen® | Feb 23, 2008 10:10 am |
| Subject: | Re: smarty and recaptcha | |
|---|---|---|
| From: | Evergreen® (the....@gmail.com) | |
| Date: | Feb 23, 2008 10:10:39 am | |
| List: | com.googlegroups.recaptcha | |
I did use recaptcha by assigning the html generated by the library to a variable. I use that variable in the template
in the php file: $smarty->assign("recaptcha", recaptcha_get_html($pub_key));
in the tpl file: {$recaptcha}
On Feb 9, 8:42 am, robin <geor...@gmail.com> wrote:
Hi there, I am using a software which relies on Smarty for php templating. The problem I am having is that Smarty doesn't recognize the tags for recaptcha. I've tried pulling out that part of the code and putting it in a separate file, using include to pull that back into my original file.
However, it doesn't seem to work. ;-(
Are there any other Smarty users using recaptcha? If so, please let me know how you got around this. I've very new to Smarty although not so new to php.
I do have a working recaptcha file, so I know that part works. It's smarty that is causing the problem.
I've already searched google for smarty and recaptcha but I didn't really find anything too useful. I thought I would try posting here and then try to find some smarty folks in a google group.
I can build my own form and dump the smarty stuff which is kind of my back up plan if I can't get this to work.
thanks,





