X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Remove 'Contact us' (https://forum.x-cart.com/showthread.php?t=70603)

Shaun 11-24-2014 03:31 AM

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'?

cflsystems 11-24-2014 05:16 AM

Re: Remove 'Contact us'
 
You have to open template and just delete or comment out the <form>...</form>

Shaun 11-24-2014 08:44 AM

Re: Remove 'Contact us'
 
What template do I edit and how?

cflsystems 11-24-2014 09:43 AM

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 *}

Shaun 11-24-2014 10:56 AM

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

cflsystems 11-24-2014 11:00 AM

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

Shaun 11-24-2014 11:00 AM

Re: Remove 'Contact us'
 
Got it! Just needed to put the {* AFTER {$lng.txt_contact_us_header}


All times are GMT -8. The time now is 02:31 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.