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

How to change contact us form?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-23-2003, 01:00 PM
 
marc2000 marc2000 is offline
 

Newbie
  
Join Date: Sep 2003
Posts: 9
 

Default How to change contact us form?

Hello,

I want to change the "contact us" form.

I want to change the field department and put there something else in the drop down box! How can I change this? I allready looked at contactus.tpl.
I changed the words there but it didn't work!

Where is the form sent after you enter submit button?

Marc
Reply With Quote
  #2  
Old 09-23-2003, 03:23 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

look in contactus.tpl and change this bit

Code:
<tr valign=middle> <td class=FormButton>{$lng.lbl_department}</td> <td><font class=Star>*</font></td> <td nowrap> <select name=department> <option value="All" selected>{$lng.lbl_all}</option> <option value="Partners">{$lng.lbl_partners}</option> <option value="Marketing / publicity">{$lng.lbl_marketing_publicity}</option> <option value="Webdesign">{$lng.lbl_web_design}</option> <option value="Sales">{$lng.lbl_sales}</option> </select> </td> </tr>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 10-04-2003, 08:52 PM
  august's Avatar 
august august is offline
 

Senior Member
  
Join Date: Jul 2003
Posts: 178
 

Default

Hi Shan,
it is posible to eliminate some fields in the contac us without affecting the site? There are some that are silly to ask to a customer, like about their web site, or address.
Reply With Quote
  #4  
Old 10-05-2003, 11:29 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

you can make those fields "hidden" fields instead.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #5  
Old 10-05-2003, 05:08 PM
  august's Avatar 
august august is offline
 

Senior Member
  
Join Date: Jul 2003
Posts: 178
 

Default

Is a really good idea. How do I do that? Will the tables take the space?
Reply With Quote
  #6  
Old 10-08-2003, 09:07 AM
 
wilsha wilsha is offline
 

Newbie
  
Join Date: Sep 2003
Posts: 5
 

Default

I'd like to have a little help also with making changes to the contactus form.

I think also it is just too many fields for someone to fill out. I understand the postabout making them hidden, but several of the ones I want hidden are currently set as required. Will making them hidden still work if they are required fields?

Thank you for your assistance.

Nancy
Reply With Quote
  #7  
Old 10-08-2003, 09:12 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

look in help.php too. thats where the error checking happens
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #8  
Old 10-08-2003, 09:47 AM
 
wilsha wilsha is offline
 

Newbie
  
Join Date: Sep 2003
Posts: 5
 

Default

Thanks.

I'll look there also. I did make one hidden that is required, and it was a "no go"

So now I'm off to check the help.php on the required part.

Thanks again. I may be back though. *S*

Nancy
Reply With Quote
  #9  
Old 10-08-2003, 10:08 AM
  august's Avatar 
august august is offline
 

Senior Member
  
Join Date: Jul 2003
Posts: 178
 

Default

To make it hidden, do you have to use a html tag or do you have to use the smarty tag {* ?
Reply With Quote
  #10  
Old 10-08-2003, 02:40 PM
 
wilsha wilsha is offline
 

Newbie
  
Join Date: Sep 2003
Posts: 5
 

Default

Thanks Shan. That did the trick.

Can you tell in quick terms the difference between the contactus.tpl and contactusmaster.tpl. So far I have only eleminated those fields in the contactus.tpl file. Do I need to do both?

Thanks,
Nancy
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:15 AM.

   

 
X-Cart forums © 2001-2020