![]() |
Grr...
Ok Ive spent the past hr updating my site and there are two things I cannot get done:
1) I want to eliminate the some contact fields in the contact list. I went to the contactus.tpl and delete some stuff....I tested it out and is says "email address is not vaild" but I swear, I never touched the email code in the contactus.tpl! Here is the code for it: Code:
{* $Id: contactus.tpl,v 1.15 2002/09/12 10:25:45 verbic Exp $ *} 2) when placing an order, the email comes back as: Quote:
all in one big paragraph - how do I organize it? Thanks so much - Im almost done! yah! |
oh yes
Regarding the question about the email,
I am using Sendmail on linux if that is important at all =) |
Hi,
Quote:
When you tested your "Contact Us" form, did you enter an email address? If not you will get the "Email Address Invalid" error message; this is one of the mandatory fields. Your Question No 2; Not sure will check. Regards, |
hmm...if HTML mail is selected in general settings, won't the cart send emails without line-breaks? (if that's the correct terminology)
|
hi!
Hi,
For the contact Us, I did enter a valid email address, but that screen saying I didnt keeps poping up. Thanks! |
Quote:
Hi Japanchick, I had to remove some the fields also, and ran into problems, I always use around any code I'm planning to delete, untill I know it's working. I found the answer by tracing the php files, from the "Contact Us" link. In the file /include/help.php, you will see the following text:- Quote:
I copied the original text into notepad (just to be safe), and changed the original text, to error check only the items I required in the contact list as below:- Quote:
Now everything works OK, no errors being reported. I left the original entry in this file, incase I changed my mind about all the items I deleted. The code is one continous line, so it only required one# to dissable it. Regards, |
hi!
Ok, I changed the help.php as you send...but it still says that the email address I entered - which was jenwyndham@yahoo.com is still invaild. If I restore the contactus.tpl, that email address works fine. But if I modify the contactus.tpl file such that the "Title, First Name, Last Name, Email Adress, Subject, and Message" fields are the only ones there, I get a pop up screen saying "email address is unvalid". Here is the modified contactus.tpl I used
Code:
{* $Id: contactus.tpl,v 1.15 2002/09/12 10:25:45 verbic Exp $ *} i made sure I only deleted the revelavnt stuff, and none of the email codes..perhaps I did something wrong? Thanks |
Hi Japanchick,
Found your problem in the javascript error checking code, I cut-n-pasted your code into my contactus.tpl, and the invalid email error message came up, I then copied the javascript code from my working "contactus.tpl" over your javascript code, and it worked ok. cut-n-paste the following code into contactus.tpl, to overwrite the existing javascript error checking code. Quote:
Regards, |
Hi Syddos,
Thank you for your help...but I still cant get it to work :( I checked the new javascript you posted but it seems the same as my old one? In any case, I did what you said and I am still getting that anooying pop-up box saying email is invalid. Here is the code Im using: Quote:
Thanks |
Quote:
I have just pasted your code into my "contactus.tpl" and I'm getting the error message. I then restored the original help/contactus.tpl file, and deleted the items one by one to match your code. Each time I deleted an entry, I sent the email, without any error messages. If you are using an edititor other than Admin/Edit templates, your editor may be adding non print characters to the template. Here is the code I used to match your template. Quote:
This is the /help/help.php Code: Quote:
Quote:
I then copied your code back into "contactus.tpl" and the error message was back. I suggest you restore the original file and delete un-wanted items using Admin/template editor (if you are not already doing so), and double check the "/help/help.php" file. Regards, |
All times are GMT -8. The time now is 03:12 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.