I have the Saratoga template up and running for about a year now. My site is hosted at E-Rice. When I first set it up, I had no desire for the contact link to work at the bottom of the page. I’m not sure what I did or how I did it, but I made the link go to my home page. I also changed the hover text to read ‘disabled’. I’m pretty sure I made these changes in footer.php. But now I look at the footer.php code, and the only thing that makes sense is the “disabled”.
Well, I would now like to have a contact option for my website. I want to avoid a straight link to email and possibly have a contact form if possible. My thinking is that this will hopefully cut down on the junk or spam. Today I had to do some renewing subscriptions with e-rice and godaddy. I talked to a support guy at godaddy and he set up a free email account. He suggested setting up a contact form with a ‘spoof’ account in the code so my page couldn’t be scanned for an email address. It sort of half makes sense what he was talking about, but I’m still lost. I now see that E-Rice allows an email setup which I have activated. But I’m not sure how to get the website to point to e-rice for that.
The guy at godaddy also told me that something is preventing the free email account from displaying in the browser. He sent me this explaining that the e-rice server would need to make these changes for the godaddy account to work I’m not sure what any of this means. Can I do what I want to do through -erice?:
Dear Jeff,
Per our conversation you should email your hosting provider with the following request for MX record chang:
I was wondering if I could get some assistance with this little project. I would also like to see how many people are visiting my site eventually. But I will wait to get the email/contact up and running. Thanks.
Go to e-rice.net
Click on Members Area, and then login.
Click on DNS
You can change the MX record settings yourself, these are the default (like yours) for my site:
It’ll take a while for the change to take effect.
(I’m surprised godaddy told you to do it this way, but I guess they know what they are doing )
Sorry, I should not have confused you with that. The MX record can also be managed at the godaddy end, but that would have been a bigger change so what they suggested is probably simpler.
Ha! I picked the php version and got it working. Got it linked to my ‘contact’ link in the footer. I’m just seeing some things and emailed Mike about them. I’m not sure if he will respond. But if anyone can address any of the issues below, that would be great:
Support ticket: I’m actually shocked I got this working. I really don’t know what I’m doing. I’ve been using Saratoga template ‘about’ pages (since the about page is nothing but text) to build custom pages on my website (i.e webcam) as you will probably notice. But there are some items I need some help with. First, everything on the contact page is off kilter. I like the look of it now with the text aligned left and the whole thing centered. But I can’t seem to center the fields on the welcome message. Second, the refresh on the captcha code doesn’t work…at least in my browser. Third, when I refresh the page to look at changes I made, I get the annoying ‘Resend information’ message from IE. Is that unavoidable or is that a local setting? The good news is, the form sends me an email and functions properly…except for the captcha refresh.
EDIT: It looks like I have validation errors. I also have them on my webcam page.
The code below is from my wxcontact.php page. I tried putting the .js file in between the # symbols, but it wouldn’t work. I know it’s probably pretty messed up the way it is. I just don’t know how to fix it.
<?php
############################################################################
# A Project of TNET Services, Inc. and Saratoga-Weather.org (WD-USA template set)
############################################################################
#
# Project: Sample Included Website Design
# Module: sample.php
# Purpose: Sample Page
# Authors: Kevin W. Reed
# TNET Services, Inc.
#
# Copyright: (c) 1992-2007 Copyright TNET Services, Inc.
############################################################################
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
############################################################################
# This document uses Tab 4 Settings
############################################################################
require_once("Settings.php");
require_once("common.php");
############################################################################
$TITLE= $SITE['organ'] . " - Contact Form";
$showGizmo = true; // set to false to exclude the gizmo
include("top.php");
#########################################################################
############################################################################
include("header.php");
############################################################################
include("menubar.php");
############################################################################
?>
<?php
$contact_form = 1; // set desired form number.
$contact_form_path = '/virtual/users/e16813-18238/web/contact-files/'; // set path to /contact-files/ with slash on end.
require $contact_form_path . 'contact-form-run.php';
?>
<?php
############################################################################
include("footer.php");
############################################################################
# End of Page
############################################################################
?>
And these are his instructions:
To display a form on your web page: Just add a few lines of PHP code. Show PHP code
Edit the HTML of a PHP page on your web site and add this code:
Put this code in the HTML head section:
Put this code in the HTML body section anywhere you want your form to show:
<?php
$contact_form = 1; // set desired form number.
$contact_form_path = '/virtual/users/e16813-18238/web/contact-files/'; // set path to /contact-files/ with slash on end.
require $contact_form_path . 'contact-form-run.php';
?>
And this is my footer.php:
<?php
############################################################################
# A Project of TNET Services, Inc. and Saratoga-Weather.org (WD-USA template set)
############################################################################
#
# Project: Sample Included Website Design
# Module: footer.php
# Purpose: Provides the bottom section of the website
# Authors: Kevin W. Reed
# TNET Services, Inc.
#
# Copyright: (c) 1992-2007 Copyright TNET Services, Inc.
############################################################################
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
############################################################################
# This document uses Tab 4 Settings
############################################################################
require_once("Settings.php");
require_once("common.php");
############################################################################
?>
Attached is a copy of my wxcontact page. Mine seems to be a lot more simpler than yours for some reason. Niko is correct, you are missing your contact-form.js file. That file should be here… http://www.exeterweather.com/contact-files/contact-form.js
Ok…I don’t know what happened there. For some reason the contact-form.js file didn’t make the trip on the ftp upload. I pretty much just copied your contact.php code into the right places and now it works. Now I’m going to attempt to get things centered. Thanks guys!