Contact Form Not Working & Can I delete Twitter Feed

Support Forums Azul – HTML Template Contact Form Not Working & Can I delete Twitter Feed

Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #3601
    rngmedia
    Participant

    Good Day. First of all, great work on the template. I cannot get the contact form to work. I have followed your instructions for the previous person and I got more error messages.

    Have you come up with a simplified solution for the contact form?

    Can I delete Twitter feed at top right? If so, how?

    #3605
    CreaboxThemes
    Keymaster

    Hi rngmedia,

    Do you get a lot of error messages?? Does the newsletter form works fine??

    If you want to delete the Twitter feed, in the file index.html, you have to delete from the line 71 to 77:

    <div class="row twitter-list">
    <div class="col-md-3 col-md-offset-9">
    <div id="home-1" class="fadeOut-1">
    <ul id="twitter-feed" class="list-tweets"></ul>
    </div>
    </div>
    </div>

    And the line 251 too:
    <script type="text/javascript" src="js/twitterfeed.js"></script>

    Regards

    • This reply was modified 10 years, 2 months ago by CreaboxThemes.
    • This reply was modified 10 years, 2 months ago by CreaboxThemes.
    #3611
    rngmedia
    Participant

    The Newsletter form works great!

    This is the message I get from the contact form:
    MSG_INVALID_NAMEInvalid address: TO_EMAILYou must provide at least one recipient email address. MSG_SEND_ERROR.

    Thanks for the Twitter info.

    #3612
    CreaboxThemes
    Keymaster

    Hi rngmedia,

    if the newsletter works fine I think this file will works fine too. I have modified the contact form function to use the same than the newsletter function.

    Regards

    #3613
    rngmedia
    Participant

    Thank you for the code. The good news is it works. The bad news is once you send the message, it seems not to go any where. There is no “Thank you” message letting the person know their email was actually sent. It just sits there.

    Test it out yourself and Please Advise

    Our website is:
    http://www.RobesonGroup.org

    #3614
    CreaboxThemes
    Keymaster

    Hi again,

    I have modified the file contact.php again. And the file script.js too. In the file scrips.js, I have only modified the contact form section.

    You can download the files from here.

    I hope it works now.

    Regards

    #3615
    rngmedia
    Participant

    Thanks for working on this. I’ve seen the activity from the Contact forms in my box.

    We were just featured on the Channel YouTube Nation and have been getting lots of new subscribers from Youtube but I wanted people to know more about what it is we do.

    However, I don’t see a link to download any new files.

    Please Advise again

    #3616
    CreaboxThemes
    Keymaster

    You can download the files in the previous message. In the word ‘here’:

    You can download the files from here.

    #3617
    rngmedia
    Participant

    I’m sorry but, I see there work here, but mousing over it doesn’t have a hyperlink as in our message “#3612.”

    Please advise

    #3618
    rngmedia
    Participant

    Got it. Previously that message hadn’t shown up here, it was only in our email thread, and I refreshed several times. Either way I downloaded them.

    Thank you. I’m certain they will work.

    #3619
    rngmedia
    Participant

    Good News & Bad News

    Good News, the messages are sent with a “Thank You” message.

    Bad News, the message comes back, though the name and email fields are “empty.”

    Please try it out your self. And please advise there after. Our website is:

    http://www.RobesonGroup.org

    #3620
    CreaboxThemes
    Keymaster

    In the file scripts.js I have attached you have to change the contact form fuctions. In your file scripts.js you have to replave the next code from the line 160 to 191:

    $('.success-message-2').hide();
    $('.error-message-2').hide();
    
    var $contactform = $('#contactform');
    
    $contactform.submit(function() {
    var postdata = $contactform.serialize();
    $.ajax({
    type: 'POST',
    url: 'php/contact.php',
    data: postdata,
    dataType: 'json',
    success: function(json) {
    if(json.valid == 0) {
    $('.success-message-2').hide();
    $('.error-message-2').hide();
    $('.error-message-2').html(json.message);
    $('.error-message-2').fadeIn().delay(3000).fadeOut();
    }
    else {
    $('.error-message-2').hide();
    $('.success-message-2').hide();
    $('#contactform').hide().delay(3000).fadeIn();
    $('#contactform input').val('');
    $('.success-message-2').html(json.message);
    $('.success-message-2').fadeIn().delay(2000).fadeOut();
    }
    }
    });
    return false;
    });
    • This reply was modified 10 years, 2 months ago by CreaboxThemes.
    • This reply was modified 10 years, 2 months ago by CreaboxThemes.
    • This reply was modified 10 years, 2 months ago by CreaboxThemes.
    #3624
    rngmedia
    Participant

    I’ve tried everything but I keep getting the same results.

    Please visit our site and test it again.

    http://www.RobesonGroup.org

    Please Advise

    #3625
    CreaboxThemes
    Keymaster

    Hi,

    I don’t understand why you don’t receive the name and email. Those variables are together with the variable message.

    I have uploaded a new file contact.php. I have changed the function to add the name and email differently.

    The file is here

    Regards

    • This reply was modified 10 years, 2 months ago by CreaboxThemes.
Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.