Support › Forums › Azul – HTML Template › Contact Form Not Working & Can I delete Twitter Feed
Tagged: Contact Form
- This topic has 13 replies, 2 voices, and was last updated 10 years, 2 months ago by CreaboxThemes.
-
AuthorPosts
-
February 16, 2014 at 7:31 am #3601rngmediaParticipant
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?
February 17, 2014 at 7:39 am #3605CreaboxThemesKeymasterHi 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.
February 17, 2014 at 3:30 pm #3611rngmediaParticipantThe 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.
February 17, 2014 at 8:02 pm #3612CreaboxThemesKeymasterHi 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
February 17, 2014 at 9:44 pm #3613rngmediaParticipantThank 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.orgFebruary 17, 2014 at 10:51 pm #3614CreaboxThemesKeymasterHi 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
February 17, 2014 at 11:04 pm #3615rngmediaParticipantThanks 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
February 17, 2014 at 11:19 pm #3616CreaboxThemesKeymasterYou can download the files in the previous message. In the word ‘here’:
You can download the files from here.
February 17, 2014 at 11:31 pm #3617rngmediaParticipantI’m sorry but, I see there work here, but mousing over it doesn’t have a hyperlink as in our message “#3612.”
Please advise
February 17, 2014 at 11:35 pm #3618rngmediaParticipantGot 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.
February 17, 2014 at 11:52 pm #3619rngmediaParticipantGood 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:
February 18, 2014 at 12:06 am #3620CreaboxThemesKeymasterIn 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.
February 18, 2014 at 4:35 am #3624rngmediaParticipantI’ve tried everything but I keep getting the same results.
Please visit our site and test it again.
Please Advise
February 18, 2014 at 7:53 am #3625CreaboxThemesKeymasterHi,
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.
-
AuthorPosts
- You must be logged in to reply to this topic.