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)
-   -   Template editing (https://forum.x-cart.com/showthread.php?t=54356)

DominicanCreations 06-26-2010 09:39 AM

Template editing
 
I recently sent a message requesting assistance in this matter but have not gotten any usable advice. I figured out how to fix my top graphic problem but for the life of me i cannot figure out how to get rid of the "Call US" also in the top but on the left side. i am thinking about placing another graphic image there or perhaps even a banner.

I tried to use Firebug and found the text but I could not figure out in which file this text is written.

I hope someone can tell me how to find this area and how to do what I want instead.

Thank you.

Eric Cugurs
http://dominicancreations.com

dalmuti 06-26-2010 09:57 AM

Re: Template editing
 
Check language variables, you should find that text there.

Thank you,

Louise Desmarteau
Studio 57 Designs

ARW VISIONS 06-26-2010 10:57 AM

Re: Template editing
 
use webmaster mode to find the template file.

It has to be customer/head.tpl tho

Sisom 06-26-2010 11:24 AM

Re: Template editing
 
Ashley is right, it will be customer/head.tpl

Edit this part:

{* <div class="line2"> *}
{* COMMENTING OUT CUSTOMER PHONES FOR FAST LANE CHECKOUT - NOT NECESSARY *}
{* {if $main ne "fast_lane_checkout"} *}

{* {include file="customer/search.tpl"} *}

{* {else}
{include file="customer/phones.tpl"}
{/if} *}
{* </div> *}


Put
{*
at the start, and
*}
at the end, of all the parts you want to comment out - they won't appear on your pages then.

In my case, I completely got rid of the .line2 div, as I don't need it at the moment.
I put a big capital letter comment in the code, so that I can see why I did it, if I come back to it in a few months' time! Otherwise you could be looking at something that is commented out, and not have a clue why you did it.

ARW VISIONS 06-26-2010 12:17 PM

Re: Template editing
 
post contents of customer/head.tpl

DominicanCreations 06-26-2010 12:27 PM

Re: Template editing
 
I'm ok now, I figured it out. i was looking for the text "contact us and the phone number" in "head.tpl" and now realized that i needed to just look for "phones.tpl'

I am slowly learning :-)

Thanks,

Eric

Sisom 06-26-2010 12:29 PM

Re: Template editing
 
Hi Eric, that's right, phones.tpl is the template which brings up the phone number - so each time you see anything that ends in .tpl, it is calling another template, which will be displayed.

You can just change

{include file="customer/phones.tpl"}

to

{* {include file="customer/phones.tpl"} *}

and the phones.tpl template won't be displayed.


All times are GMT -8. The time now is 11:56 PM.

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