Pergunta

I have a custom form within CTools form wizard that I would like to use Mollom on. Is there an API function I can use to place it in the Form API on that page?

Foi útil?

Solução

I'd suggest you simply integrate with mollom to expose your form.

You just need to implement two simple hooks and you can also configure if it should be CAPTCHA only or analyse some fields.

Hook documentation:

As an example implementation, you can have a look at my patch against Privatemsg: http://drupal.org/node/720038#comment-3501758 or have a look at these: http://drupalcontrib.org/api/search/7/_mollom_form_.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a drupal.stackexchange
scroll top