1
Tarik
class xoopscaptcha in template
  • 2010/10/7 0:51

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


Hello, i want to put a captcha to a certain module
so i want to use the class offered by xoops in steed of using an external class
le="color: #000000"><?php $captcha = new XoopsFormCaptcha("baka");

but the problem is that i want to add it to the template not to a form class
---
i know that i can transform the form in the template to a XoopsThemeForm but i want t know if there is an other way please

2
ghia
Re: class xoopscaptcha in template
  • 2010/10/7 8:35

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try by including the lines, you find in the html source of a displayed form with captcha, into the template.

3
Tarik
Re: class xoopscaptcha in template
  • 2010/10/7 15:35

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


Thank you very much Ghia, a very simple solution but it worked
why solutions always seems easy after we find it