X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Question about the "Contact Us" form (https://forum.x-cart.com/showthread.php?t=10635)

clydefrog 11-29-2004 04:02 PM

Question about the "Contact Us" form
 
I see it runs a check and probrobly a js to verify text boxes have been filled out properly. If I don't really need somone's phone number, and want to make it so they are not required to fill out certain info, where would I look to do it?

balinor 11-29-2004 04:24 PM

All of those fields can be edited in the 'User Profiles Options'. Can't remember where it is in 3.x.x, but it is under General Settings in 4.x.x, so I'm guessing it might be there :)

clydefrog 11-29-2004 05:49 PM

I am running 3.5

I do not think I have a user profiles option.

I tried editing contact.tpl by using comment tags {* *} - when I did this it took away the parts I wanted it to, but the form would not submit and it would not call the sender notification screen, it would just stay on the text box page.

Any suggestions?

adpboss 11-29-2004 06:15 PM

http://forum.x-cart.com/viewtopic.php?t=1295&highlight=contact+remove

adpboss 11-29-2004 06:17 PM

http://forum.x-cart.com/viewtopic.php?t=5629&highlight=contactus+remove

clydefrog 11-29-2004 06:38 PM

This is all I found in my help.php/ what am I missing here? Am I looking in the wrong place?


#
# $Id: help.php,v 1.17.2.1 2004/02/05 12:25:45 mclap Exp $
#

require "./auth.php";
require $xcart_dir."/include/categories.php";

require $xcart_dir."/include/help.php";

$smarty->display("customer/home.tpl");
?>

adpboss 11-29-2004 06:45 PM

Quote:

FILE:: include/help.php file

you will need to edit the following line
Code:

$fillerror = (empty($contact["firstname"]) || empty($contact["lastname"]) || empty($contact["email"]) || empty($contact["subject"]) || empty($contact["body"]));

Quote:

FILE:: include/help.php file

clydefrog 11-30-2004 08:02 AM

thanks. I should have seen include was a directory and not a command.


All times are GMT -8. The time now is 10:32 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.