| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() 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:
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! |
|||||||
#2
|
|||||||
|
|||||||
![]() Regarding the question about the email,
I am using Sendmail on linux if that is important at all =) |
|||||||
#3
|
|||||||
|
|||||||
![]() 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,
__________________
Syddos Nothing is impossible, We just don't know how to do it ........Yet! Xcart 4.1.X PRO (Testing Platform: winXP Pro) Perl 5.8.7 (win32) WINAMP 1.6.3 (win32 server package. Includes the following) - phpMyAdmin v2.8.03 - MySql 5.0.21 - Apache 2.0.55 (win32) - php 5.1.4 - SQLitemanager 1.2.0 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() hmm...if HTML mail is selected in general settings, won't the cart send emails without line-breaks? (if that's the correct terminology)
__________________
Xcart V4.5.5 Gold seaCOAST "Live FREE or DIE!" |
|||||||||
#5
|
|||||||
|
|||||||
![]() Hi,
For the contact Us, I did enter a valid email address, but that screen saying I didnt keeps poping up. Thanks! |
|||||||
#6
|
|||||||
|
|||||||
![]() 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,
__________________
Syddos Nothing is impossible, We just don't know how to do it ........Yet! Xcart 4.1.X PRO (Testing Platform: winXP Pro) Perl 5.8.7 (win32) WINAMP 1.6.3 (win32 server package. Includes the following) - phpMyAdmin v2.8.03 - MySql 5.0.21 - Apache 2.0.55 (win32) - php 5.1.4 - SQLitemanager 1.2.0 |
|||||||
#7
|
|||||||
|
|||||||
![]() 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:
i made sure I only deleted the revelavnt stuff, and none of the email codes..perhaps I did something wrong? Thanks |
|||||||
#8
|
|||||||
|
|||||||
![]() 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,
__________________
Syddos Nothing is impossible, We just don't know how to do it ........Yet! Xcart 4.1.X PRO (Testing Platform: winXP Pro) Perl 5.8.7 (win32) WINAMP 1.6.3 (win32 server package. Includes the following) - phpMyAdmin v2.8.03 - MySql 5.0.21 - Apache 2.0.55 (win32) - php 5.1.4 - SQLitemanager 1.2.0 |
|||||||
#9
|
|||||||
|
|||||||
![]() Hi Syddos,
Thank you for your help...but I still cant get it to work ![]() 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 |
|||||||
#10
|
|||||||
|
|||||||
![]() 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,
__________________
Syddos Nothing is impossible, We just don't know how to do it ........Yet! Xcart 4.1.X PRO (Testing Platform: winXP Pro) Perl 5.8.7 (win32) WINAMP 1.6.3 (win32 server package. Includes the following) - phpMyAdmin v2.8.03 - MySql 5.0.21 - Apache 2.0.55 (win32) - php 5.1.4 - SQLitemanager 1.2.0 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|