Corlate - Free Responsive Business HTML Template

Ccarviz 2 years ago
Hi..
i have a problem with contact form, when i use the contact form i recive an email but empty.. can you help me please? thanks
Hugo Benedicto
sendemail.php

<?php

// Get values from form
$name=$_POST['name'];
$mensaje=$_POST['mensaje'];
$phone=$_POST['phone'];
$email=$_POST['email'];

$to = "[email protected]";
$subject = "From";
$message = " Nombre: " . $name . "\r\n Mensaje: " . $mensaje . "\r\n Tel: " . $phone . "\r\n Email: " . $email;


$from = "Your Web";
$headers = "From:" . $from . "\r\n";
$headers .= "Reply-To: $email" . PHP_EOL;
$headers .= "Content-type: text/plain; charset=UTF-8" . "\r\n";

if(@mail($to,$subject,$message,$headers))
{
print "<script>document.location.href='http://web.com/thanks.html';</script>";
// Created by Hugo
}else{
echo "Error! Please try again.";
}
---------------------------------------------------------------------------------------
html...

<form name="form1" id="ff" method="post" action="insert.php">

<div class="col-sm-5 col-sm-offset-1">
<div class="form-group">
<label>Nombre *</label>
<input name="name" type="text" class="form-control" id="name" placeholder="Su nombre" required autofocus>
</div>
<div class="form-group">
<label>Email *</label>
<input name="email" type="email" class="form-control" id="email" placeholder="Su email" required>
</div>

<div class="form-group">
<label>Teléfono *</label>
<input name="phone" type="tel" class="form-control" id="phone" placeholder="Su teléfono">
</div></div>
<div class="col-sm-5">
<div class="form-group">
<label>Mensaje</label>
<textarea name="mensaje" id="mensaje" required="required" class="form-control" placeholder="Su mensaje aquí" rows="8"></textarea>
</div>
<div class="form-group">
<button type="submit" name="submit" class="btn btn-primary btn-lg" required="required">Enviar</button>
</div>
</div>
</form>
2 years ago
demacoga
Email is sent empty cause ajax takes the form as GET, u must type it as post, here is the code that u must change in main.js file:
// Contact form
var form = $('#main-contact-form');
form.submit(function(event){
event.preventDefault();
var form_status = $('<div class="form_status"></div>');
$.ajax({
type: "POST",
url: $(this).attr('action'),
data: form.serialize(),

beforeSend: function(){
form.prepend( form_status.html('<p><i class="fa fa-spinner fa-spin"></i> Email is sending...</p>').fadeIn() );
}
}).done(function(data){
form_status.html('<p class="text-success">' + data.message + '</p>').delay(3000).fadeOut();
});
});
1 year ago
mohitkaushik 2 years ago
Hello,
I am using corlate template for my business website but i found one problem that corlate home page slider not sliding automatically..please can you solve this problem as soon as possible, so i will publish my website live.
please solve this problem.
Thank You,
iceman
<script type="text/javascript">$('.carousel').carousel({
interval: 3000
})</script>
write this js code in html body
1 year ago
EduFreestyle
I have the same issue, and this code don't fix this problem.
8 months ago
rozaq
not work
7 months ago
rozaq
this code don't fix this problem.
7 months ago
Redeemerke
In index.html on line 778 replace <script src="js/jquery.js"> with <script src="js/jquery.js"></script> it was missing the closing tag.
6 months ago
alldeads
just add data-ride="carousel" to your DIV , this works on me ! hope it helps <section id="main-slider" class="no-margin"> <div class="carousel slide" data-ride="carousel">
5 months ago
jldavilacasares 2 years ago
Hi..my problem is with contact form too. The thing is I don't know where I should to configure the submit button in the form to send the information to my e-mail. thanks
jsdesignem 2 years ago
Hi guys! I'm having the same problems that others describe, the contact form is sending the mail, but empty, like if the form isn't posting any data. I tried both Asp.net and php, both didn't work. And the main slider wont work either. Can you help me please?

Thanks!

Julian
sahana 2 years ago
The whole slider moves up and down after the 1st cycle of slider is completed. ie after the 3rd image is displayed and rewinds to the first image. COuld someone help
bibin9363
I've the same problem. dont know exact solution.
10 months ago
nightflight
same problem here, no solution found
10 months ago
gulranek 2 years ago
Hi, I'm trying to install this on my Wordpress 3.0 but I get a failed message, says the theme does not contain style.css. What should I do?
iceman
rename main.css as style.css and and change all{in head link} names in html files
1 year ago
shapebootstrap Author
This is an HTML template, not wordpress.
1 year ago
Hottinger 1 year ago
Hi guys,

I can't get the rollover effects e.g. in the "recent-works" section to work on touchscreens.
Any work-around

Thanks


Fred
bismark12 1 year ago
pls i ve a problem with the contact form.it display email is sending but it does not send the mail.
sdfrereer
Hi,
I have the same issue, did you find a solution?
1 year ago
donjabon 1 year ago
Hy, when y try to insert a fluid grid y got this message :
"Could not find Dreamweaver Fluid Grid style sheet error" in Dreamweaver CS6
Any help please ?
ncoppa 1 year ago
I was wondering on the contact form, how does the JoomShaper work? how do I replace the googlemap address with mine? Thanks!
ncoppa
I mean contact page not form. Sorry
1 year ago
jebernier 1 year ago
Best way to affix top two sections (social media links & nav. bar)?
hakannn 1 year ago
Hi guys !! where are you html documents ??? pls help me
TobyStrobel 1 year ago
Hey Guys! i have some trouble with the accordion... i want to open the side and the accordion is closed.. in which .js ist the script for the accordion..
demacoga 1 year ago
The main.js file have an error.

POST type must be escpecified. Thats why EMAILS go empty.

This is the code that works:

// Contact form
var form = $('#main-contact-form');
form.submit(function(event){
event.preventDefault();
var form_status = $('<div class="form_status"></div>');
$.ajax({
type: "POST",
url: $(this).attr('action'),
data: form.serialize(),

beforeSend: function(){
form.prepend( form_status.html('<p><i class="fa fa-spinner fa-spin"></i> Email is sending...</p>').fadeIn() );
}
}).done(function(data){
form_status.html('<p class="text-success">' + data.message + '</p>').delay(3000).fadeOut();
});
});
Falander 1 year ago
Hello!.. i have the same problem as :

sahana 5 months ago
The whole slider moves up and down after the 1st cycle of slider is completed. ie after the 3rd image is displayed and rewinds to the first image. COuld someone help

So in the end of the cycle of the carousel and when it jumps to the first image its a resize problem of the high of the carousel header!.. Making all things below jump up and down maybe 30 px!
Voja
Credits goes to Yunus Emre Çağatay

"In file main.css,
find #main-slider .next {
and find margin-top: -25px; (Line 445 for me)

delete that line and the problem will be solved.

Hope it will be helpful for you too."
1 year ago
anisclo 1 year ago
I want to include the contact form in the Homepage Slider. Is it possible? Thanks a lot
trsivasankar 1 year ago
Hi Want to add sub menus for blogs link. Please some one help me out on this.
Phon 1 year ago
Thank you for your great work
parkerkw 1 year ago
Hi. How to make the slideshow to play auto.
EduFreestyle
I have the same issue, did you find a solution?
8 months ago
Live Demo Login To Download
  • 424411
  • 309

shapebootstrap

Registered: 11 July 2013

Item Information

  • Released: 25 June 2014
  • Version: 1.0
  • Category: Corporate & Business
  • Layout: Responsive
  • Retina Ready: No
  • Bootstrap: Bootstrap 3.x

Newsletter