Please upgrade here. These earlier versions are no longer being updated and have security issues.

How can I customize recaptcha themes?

edited April 2012 in Vanilla 2.0 - 2.8

I want to customize the recaptcha to a different theme (as there are 4 different themes) but don't know how it could be done in Vanilla. More info is here:
https://developers.google.com/recaptcha/docs/customization

Tagged:

Best Answer

  • 422422 Developer MVP
    edited April 2012 Accepted Answer

    In your default_master.php

    Add this code before <?php $this->RenderAsset('Head'); ?>

    < script type="text/javascript">
                 var RecaptchaOptions = {
                    theme : 'clean'
                 };
            </ script>
    

    Please note I have added space after < in the opening and closing script tags to post on here, ensure you do not have those spaces in your own code
    Change theme name to match the one you wish to use.

    ie.
    red

    white

    blackglass

    clean

    UnderDognitin29hellowebvrijvlinder

Answers

Sign In or Register to comment.