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

editing contact us form

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-19-2005, 04:04 PM
 
pcarcare pcarcare is offline
 

eXpert
  
Join Date: Jun 2004
Location: Salt Lake City, Utah
Posts: 230
 

Default editing contact us form

I would like to edit the cotact us page.

I would like the page to have only

First and Last Name
Email
phone
fax
and form for comments.

How do I edit the form. Also, where is the file located?

Thanks all
__________________
X-cart gold 4.5.2 (live)
X-payments 1.0.5

http://www.professionalcarcare.com
Your online source for all your car care needs
Reply With Quote
  #2  
Old 06-19-2005, 05:34 PM
 
extreme extreme is offline
 

Member
  
Join Date: Jun 2005
Posts: 28
 

Default

Looks to be under include\help.php

Haven't done anything with it myself but it might be a good place to start looking
__________________
X-Cart version 4.1.10 (upgraded painfully from 4.0.18.)
Reply With Quote
  #3  
Old 06-19-2005, 05:41 PM
 
extreme extreme is offline
 

Member
  
Join Date: Jun 2005
Posts: 28
 

Default

Also under Edit Templates is help\contactus.tpl
__________________
X-Cart version 4.1.10 (upgraded painfully from 4.0.18.)
Reply With Quote
  #4  
Old 06-19-2005, 06:23 PM
 
pcarcare pcarcare is offline
 

eXpert
  
Join Date: Jun 2004
Location: Salt Lake City, Utah
Posts: 230
 

Default

I found the tpl to edit. But after I edited the file with front page and did a test, the form didn't submit.

So what did I do wrong or what else do i need to edit?
__________________
X-cart gold 4.5.2 (live)
X-payments 1.0.5

http://www.professionalcarcare.com
Your online source for all your car care needs
Reply With Quote
  #5  
Old 06-19-2005, 08:05 PM
 
extreme extreme is offline
 

Member
  
Join Date: Jun 2005
Posts: 28
 

Default

Not sure... did you look at the help.php file?

There's this bit:

Code:
$fillerror = (empty($contact["firstname"]) || empty($contact["lastname"]) || empty($contact["b_address"]) || empty($contact["b_city"]) || empty($contact["b_country"]) || empty($contact["b_zipcode"]) || empty($contact["phone"]) || empty($contact["email"]) || empty($contact["subject"]) || empty($contact["body"]));

Maybe you need to take some fields out of there so it doesn't produce an error when it looks for something that isn't there????
__________________
X-Cart version 4.1.10 (upgraded painfully from 4.0.18.)
Reply With Quote
  #6  
Old 06-19-2005, 08:27 PM
 
pcarcare pcarcare is offline
 

eXpert
  
Join Date: Jun 2004
Location: Salt Lake City, Utah
Posts: 230
 

Default

I havent look at that. I'll give it a try and let you all know.
__________________
X-cart gold 4.5.2 (live)
X-payments 1.0.5

http://www.professionalcarcare.com
Your online source for all your car care needs
Reply With Quote
  #7  
Old 06-20-2005, 01:57 AM
 
balinor balinor is offline
 

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

Default

Be very careful editing files with Front page or any other WYSIWYG editor. Many of them can't read Smarty tags and you will break your templates.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 01:11 PM.

   

 
X-Cart forums © 2001-2020