Jump to content

Cannot display reCaptcha image in my template .tpl file


seamus

Recommended Posts

I am having problems displaying the reCaptcha image in my template file (registration_form.tpl)

 

I have registration_form.tpl which displays my form, and i also have registration_form.php.

 

I cannot insert php code into the .tpl file, as it does not work, hence no image. reCaptcha blog post says the form file MUST have the .php extension, otherwise it will NOT work. But i cant rename it to .php as its a template .tpl file.

 

I can get the recapta to work perfect with form.php & process.php by using code from the PHP blog post instructions at: http://recaptcha.net/plugins/php/

 

Also, I use the smarty template engine.

 

Any idea on how to display & call the flaming reCaptcha image in a template .tpl file.

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.