Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Question about the "Contact Us" form

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-29-2004, 04:02 PM
 
clydefrog clydefrog is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 61
 

Default 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?
__________________
X-Cart Gold 4.1.3
Reply With Quote
  #2  
Old 11-29-2004, 04:24 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-29-2004, 05:49 PM
 
clydefrog clydefrog is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 61
 

Default

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?
__________________
X-Cart Gold 4.1.3
Reply With Quote
  #4  
Old 11-29-2004, 06:15 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

http://forum.x-cart.com/viewtopic.php?t=1295&highlight=contact+remove
Reply With Quote
  #5  
Old 11-29-2004, 06:17 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

http://forum.x-cart.com/viewtopic.php?t=5629&highlight=contactus+remove
Reply With Quote
  #6  
Old 11-29-2004, 06:38 PM
 
clydefrog clydefrog is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 61
 

Default

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");
?>
__________________
X-Cart Gold 4.1.3
Reply With Quote
  #7  
Old 11-29-2004, 06:45 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

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
Reply With Quote
  #8  
Old 11-30-2004, 08:02 AM
 
clydefrog clydefrog is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 61
 

Default

thanks. I should have seen include was a directory and not a command.
__________________
X-Cart Gold 4.1.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:03 AM.

   

 
X-Cart forums © 2001-2020