reCaptcha not displayed

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by  smothy 8 months, 4 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #11848

    smothy
    Participant

    Support Expired

    Dears,
    I am using your great template envor
    but have some issues with the recaptcha.
    I saw this has already been discussed in your forum here.

    I already followed some instruction from you like edit the azuracontactform.php
    http://prnt.sc/c8tl9w

    without success – still not visible

    It is regarding azura page builder – I used this form and the documentation for re-captcha says: I have to add the line…
    `<div class=”g-recaptcha” data-sitekey=”key-for-captcha….”></div>
    within the html code/tag
    but how can I do that or where ?

    I tried to do it within azura page builder and added a new element below the element “contact form” but than the reCaptcha is below the send button but this reCaptcha should be before that send button.

    thank you

    #11852

    CTHthemes
    Keymaster

    Hi, please delete your added code then send me your administrator + ftp account to check.

    thank you.

    #11872

    smothy
    Participant

    Support Expired

    Hello – I have sent you the details of account via email.

    On your address

    cththemes@gmail.com

    thank you

    #11873

    smothy
    Participant

    Support Expired

    Dear – I just replied again to your email.
    it is visible now – thats fine but the captcha is quite small.
    I need it wider – more width
    but this is not possible with css styling as I tested.

    thank you

    #11874

    CTHthemes
    Keymaster

    Use this code for the captcha:

    
    <?php 
            $captchaId = '';
            JPluginHelper::importPlugin('captcha', 'recaptcha');
            $dispatcher = JEventDispatcher::getInstance();
            $initResult = $dispatcher->trigger('onInit', array($captchaId));
            if ($initResult[0])
            {
                echo implode('', $dispatcher->trigger('onDisplay', array(null, $captchaId, 'class=""')));
            }
            ?>
    
    #11875

    smothy
    Participant

    Support Expired

    Ok – and in which file you have added this code ?
    which directory ?

    thank you

    great help/support

    #11876

    CTHthemes
    Keymaster

    Here they are: http://prntscr.com/dp8mz6

    #11877

    smothy
    Participant

    Support Expired

    Great – thank you so much.

    Kind regards

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘reCaptcha not displayed’ is closed to new replies.