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

How to edit the Contact Us form

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-16-2005, 11:12 AM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default How to edit the Contact Us form

On the Contact Us form there is a section that is labelled Departments with some choices to input ( these are complusory fileds) I need to get rid of them or be able to change them to something more suitable for my web site,

I have looked at the contact us form under general seetings but this departments section does not show up there to be deselected and hidden ???

Does anyone know a way around this or how to edit it?

Thanx
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #2  
Old 02-16-2005, 12:44 PM
 
balinor balinor is offline
 

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

Default

Yea, that one is annoying. You actually have to go into the help/contactus.tpl and remove it manually.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-16-2005, 01:59 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

Thanx Padraic

Have got rid of it now, looks much better without that confusing compulsory department field
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #4  
Old 05-01-2005, 10:39 PM
 
the counselor the counselor is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default

Quote:
Originally Posted by balinor
Yea, that one is annoying. You actually have to go into the help/contactus.tpl and remove it manually.

kirsten or balinor, which part of the code do you take out?

IБ─≥ve had no luck at it!
__________________
Version 4.0.13
Reply With Quote
  #5  
Old 05-01-2005, 11:02 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

From memory I think this is what I commented out in the help/contactus.tpl ( it is almost at the bottom of the coding)
Make sure you keep a copy of your original code just in case but I think that should take out the department stuff

<TR valign="middle">
<TD class="FormButton">{$lng.lbl_department}</TD>
<TD><FONT class="Star">*</FONT></TD>
<TD nowrap>
<SELECT id="department" 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>
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #6  
Old 05-03-2005, 08:17 PM
 
F5Performance F5Performance is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Dallas TX
Posts: 111
 

Default

Thanks, that helped me too.
__________________
Xcart Gold 4.0.17
mysql Ver 12.22 Distrib 4.0.16
perl versionperl, v5.8.3
php version PHP 4.3.11
Reply With Quote
  #7  
Old 05-03-2005, 08:42 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

No worries it is always nice when someone takes the time and helps another on here
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #8  
Old 05-03-2005, 09:09 PM
 
the counselor the counselor is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default

Thanks Kirsten, that did the trick!

__________________
Version 4.0.13
Reply With Quote
  #9  
Old 03-17-2006, 07:49 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default

Not sure if this is the only post on this matter, but I think that this is one for Shan's list of things asked a million times.

Just an addition though, if you want to remove the fields totally, so that when you (or your client if you are setting this up for someone else) receives the email, there are no blank fields where department is, or anything else you have removed, eg. fax, or website:

edit: skin1/mail/html_help_contactus.tpl

and remove the rows corresponding to what you have removed in the help template.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
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 02:00 PM.

   

 
X-Cart forums © 2001-2020