Hoxa – Subscribe Form

This topic contains 11 replies, has 2 voices, and was last updated by  CTHthemes 1 year, 5 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #12724

    carolinewhittle
    Participant

    Unknow

    On each page as per your Joomla demo site, i have a Subscribe Form – however, after entering my email address and hitting the ‘subscribe now!’ button, I get an error message that says ‘enter valid email address’.

    When I do this on your Joomla demo site, it says ‘Thanks for subscribe our newsletter!’

    If you would please advise.
    Details being sent privately.

    with thanks
    Caroline

    #12725

    carolinewhittle
    Participant

    Unknow
    This reply has been marked as private.
    #12736

    CTHthemes
    Keymaster

    Please edit this file to change name attribute from e-mail to email: http://prntscr.com/e9en97

    #12935

    carolinewhittle
    Participant

    Unknow

    thanks – this cures the above problem, however now when I click subscribe, I get “Invalid Captcha Code” message.

    How can I stop this from appearing?

    with thanks
    Caroline

    #12938

    CTHthemes
    Keymaster

    Do you want to have Recaptcha with the form?

    #12940

    carolinewhittle
    Participant

    Unknow

    not at present thank you (although I do use it elsewhere on the website).

    #12945

    CTHthemes
    Keymaster

    Delete this code please: http://prntscr.com/eehmke

    #12969

    carolinewhittle
    Participant

    Unknow

    Many thanks for the amendment.

    If however, I wanted to keep the code and make the screen work displaying the captcha image, what would be required – as at present it says invalid captcha code, but it’s not display my image.

    my default is Captcha – Securimage.

    with thanks
    Caroline

    #12984

    CTHthemes
    Keymaster

    You can add the code bellow to the form to use captcha:

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

    carolinewhittle
    Participant

    Unknow

    Many thanks – I’ll give it a go.

    kind regards
    Caroline

    #13015

    carolinewhittle
    Participant

    Unknow

    Just looking over your last post above, what form should I be adding this to?

    It’s currently using your module ‘Subscribe Forms’. However, I don’t see anywhere there to add this info.

    with thanks
    Caroline

    #13019

    CTHthemes
    Keymaster

    Here it is: http://prntscr.com/e9en97
    Bellow the input tag.

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

You must be logged in to reply to this topic.