Author Topic: Visit my site  (Read 8206 times)

Offline soymoe

  • New member
  • *
  • Posts: 6
    • Ema Esperanza
Visit my site
« on: July 23, 2015, 04:30:50 PM »
i m download template and this is my site in spanish:
www.climaesperanza.com.ar
 i try to create a contact page base in blues template, but i fail, is this possible to create a contact page?

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Visit my site
« Reply #1 on: July 25, 2015, 09:16:03 AM »
Hi soymoe,

For contact/comments, you could do it with 2 different techniques:

1 - A simple "mailto" link on a page (clickable link):
Code: [Select]
<a href="mailto:info@example.com">mail link</a>Word "mail link" will be a link to send mail to the address info@example.com

2 - A second way is to do a contact page with name, email and message boxes:

You could use file empty.htm (included with Template) as a base page.
Rename it something like contact.php (need to be a PHP page).

You have to use a php script to do it, a simple one could be found at:
http://www.123contactform.com/simple-php-contact-form.html

Best regards,
Jacques
Please, consider supporting this site 

Offline soymoe

  • New member
  • *
  • Posts: 6
    • Ema Esperanza
Re: Visit my site
« Reply #2 on: July 26, 2015, 10:59:57 PM »
Thank you, i need state the format of the other site pages in contact page and add info like phone, facebook and twitter address and e-mal address. if im rename empty page to contact.php this page hold the template format with header image?

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Visit my site
« Reply #3 on: July 27, 2015, 08:02:59 AM »
Hi soymoe,

Yes, page "empty" is a "blank" page that has all the design from the Template
like all other pages, but no content(text). That page is provided as a base
to expand your site... with style!  8)

Regards,
Jacques
Please, consider supporting this site 

Offline soymoe

  • New member
  • *
  • Posts: 6
    • Ema Esperanza
Re: Visit my site
« Reply #4 on: July 27, 2015, 02:19:32 PM »
thank you, im will try and tell you.

Offline soymoe

  • New member
  • *
  • Posts: 6
    • Ema Esperanza
Re: Visit my site
« Reply #5 on: July 27, 2015, 04:39:55 PM »
i was can create the contact page, now i  need change the clock time zone to buenos aires argentine

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Visit my site
« Reply #6 on: July 27, 2015, 04:49:47 PM »
Hi soymoe,

Check the section "Setting the clock" in the installation section
of your Template. Link: http://weatherbyyou.com/wb_install.php#install

Regards,
Jacques
Please, consider supporting this site 

Offline olidev

  • Newbie
  • *
  • Posts: 1
Re: Visit my site
« Reply #7 on: August 10, 2018, 02:55:18 AM »
You can either use some template for contact page and then use some free php contact form script or you can create a custom php contact form on your own. I would go for the latter because these free scripts might have some security vulnerabilities. You can easily create a PHP contact form. Just create html form, create and configure MySQL database and then connect it with your PHP file. Create contact form php file and add the following script in it.

Code: [Select]
<?php 
require_once("config.php");
if((isset(
$_POST['your_name'])&& $_POST['your_name'] !='') && (isset($_POST['your_email'])&& $_POST['your_email'] !=''))
{
 require_once(
"contact_mail.php<strong>");
</
strong>
$yourName $conn->real_escape_string($_POST['your_name']);
$yourEmail $conn->real_escape_string($_POST['your_email']);
$yourPhone $conn->real_escape_string($_POST['your_phone']);
$comments $conn->real_escape_string($_POST['comments']);

$sql="INSERT INTO contact_form_info (name, email, phone, comments) VALUES ('".$yourName."','".$yourEmail."', '".$yourPhone."', '".$comments."')";


if(!
$result $conn->query($sql)){
die(
'There was an error running the query [' $conn->error ']');
}
else
{
echo 
"Thank you! We will contact you soon";
}
}
else
{
echo 
"Please fill Name and Email";
}
?>