Contact Us Page

by 6 replies
7
Hey First off, I wanted to thank everyone who participates in the Warrior Forum, and to whomever is reading my thread right now. I would not have made it as far as I am now without your help and expertise!

My question is about the "Contact" page of my website. I downloaded a template for use, so it came with its own "Contact Me" page. It has the basic form where you fill in your information in the open boxes, such as;

Company name, full name, address, phone, email, and then a questions/comments box. Under that there is just a button that says "Send Now" -so I was wondering how you can set that up to where there question or comment gets sent to my hosting account email for my website?

Thanks guys!!
#website design #contact #page
  • Hi

    Generally you will find in whichever platform you are using there is a general settings area where one of your inputs is to put the your/the sites contact email address

    Could be more specific if you state what platform you are using Wordpress, OSCommerce, Magento, Joomla etc, or put a link to your site so could possibly tell what platform you are using

    Best of luck

    Steve
    • [1] reply
    • You'd need to set up a form. There are plenty of tutorials around the internet that show you how to do that.
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • Hi,

    If you downloaded a template then look at all the template files that came with it. You should have one called something like contact.php. If you dont find one open up your contact.html page in a text editor and look for this phrase (or something similar) -



    That is basically telling the html page what to do with the data when someone clicks on the submit button.

    is the location of the file that has all the processing for the form. Ie it checks to see if the email address is properly formatted, all the sections are filled in etc and then it sends the email.

    So go look for that page and open it up in a text editor (notepad etc).

    Now look for something like this -



    This is where you input your own email address. Now save the page and upload it to your website. If it works, and if you server has sendmail installed this will allow your contact.html page to send the message as an email to your email address.

    If it doesnt work then I suggest contacting the sellers of the template and asking for help as to how to set up the contact form. If they tell you the same as me then contact the tech support at your web host and ask them why this is not working and what you should do.

    Hope this helps.

    Cheers

    Max
  • Hey there

    have a look at this gives you all the files you need you just need to change the email address really great A Fancy AJAX Contact Form – Tutorialzine
  • Banned
    [DELETED]
  • hello,

    I can do that your contact form in just $30 if you need to.

    Thanks
    Thewebpixel
  • <form name="frm_feed" action="contactus.php" method="post">
    <input value="5" name="feedback" type="hidden">
    <font class="label"><b>Yourname:</b></font><br>
    <input name="txt_name" value="" class="txtboxs" maxlength="30" size="50" type="text"><br>

    <font class="label"><b>Email:</b></font><br>
    <input name="txt_email" value="" class="txtboxs" maxlength="40" size="50" type="text"><br>
    <font class="label"><b>Feedback:</b></font><br>
    <textarea name="txt_feed" class="txtboxs" cols="70" rows="5"></textarea><br>
    <left><span >
    <input value="Send Email" name="btn_submit" type="submit" class="convey"></span> </left>
    </form>


    Next Page submission:

    * Contactus.php

    if($_POST){
    //print_r($_POST);
    $headers = "From: $_POST[txt_email]";
    @mail("Email at yoursite ","Feedback from yoursite.com : $_POST[txt_name]",$_POST["txt_feed"],$headers);
    $_SESSION["Msg"] = "Your message was sent, thank you!";
    }

Next Topics on Trending Feed

  • 7

    Hey First off, I wanted to thank everyone who participates in the Warrior Forum, and to whomever is reading my thread right now. I would not have made it as far as I am now without your help and expertise! My question is about the "Contact" page of my website. I downloaded a template for use, so it came with its own "Contact Me" page. It has the basic form where you fill in your information in the open boxes, such as;