10389 Posts in 2200 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1268 Views |
-
setting a recaptcha theme for use in Blog

26 January 2010 at 9:19am Last edited: 26 January 2010 10:33am
OK, I have recaptch working in my new blog (very easy to setup, nice). Anyway I want to change the look of the recaptcha. I read the api info on thier site, and the docs here http://doc.silverstripe.org/doku.php?id=modules:recaptcha
The reference to: $recaptchaField->jsOptions = array('theme' => 'clean'); // optional
looks promising, but there isn't any real followup info/deatils.
Can this method be used with the blog/forum intergration?
Where are the 'theme' settings set?, I couldn't find any templates for recaptcha.. and I am unsure what 'clean' refers to.
also how would this be added to mysite/_config.php?UPDATE OK, after digging deeper I now see a reference to: Note: Only available if {@link $useJavascript} is turned on.
in the RecaptchaField.php file..How can I set this? Sorry.. I am pretty new to some of this.. any help would be appreciated.
thanks
-
Re: setting a recaptcha theme for use in Blog

12 November 2010 at 6:40pm
A little late but in case this helps someone else...
In your site _config.php file add a line such as
RecaptchaField::$js_options = array('theme' => 'white');
View the different themes available here: http://code.google.com/apis/recaptcha/docs/customization.html
| 1268 Views | ||
|
Page:
1
|
Go to Top |



