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

Remove 'Contact us'

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-24-2014, 03:31 AM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 176
 

Default Remove 'Contact us'

Hello,

I modified my contact us page with a little bit of static blurb and would rather rely on that than the standard contact us form - http://streetortrack.com/help.php?section=contactus&mode=update

How can I show just the static contact us form when someone clicks on 'Contact us'?
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
Reply With Quote
  #2  
Old 11-24-2014, 05:16 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,197
 

Default Re: Remove 'Contact us'

You have to open template and just delete or comment out the <form>...</form>
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 11-24-2014, 08:44 AM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 176
 

Default Re: Remove 'Contact us'

What template do I edit and how?
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
Reply With Quote
  #4  
Old 11-24-2014, 09:43 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,197
 

Default Re: Remove 'Contact us'

This is very old XC version, not really sure. Try skin1/help/contact_us.tpl. Just surround the code with

{* CODE HERE *}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 11-24-2014, 10:56 AM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 176
 

Default Re: Remove 'Contact us'

Hmmm, doing that removed everything on the page. Even the text at the top which I put there by editing txt_contact_us_header
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
Reply With Quote
  #6  
Old 11-24-2014, 11:00 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,197
 

Default Re: Remove 'Contact us'

You are not reading what I wrote before - you are supposed to comment out only the <form> tag and everything in it not the whole file
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 11-24-2014, 11:00 AM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 176
 

Default Re: Remove 'Contact us'

Got it! Just needed to put the {* AFTER {$lng.txt_contact_us_header}
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
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 12:59 PM.

   

 
X-Cart forums © 2001-2020