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

Template editing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-26-2010, 09:39 AM
  DominicanCreations's Avatar 
DominicanCreations DominicanCreations is offline
 

Senior Member
  
Join Date: Jan 2010
Location: Montreal, Canada
Posts: 151
 

Default 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
__________________
X-Cart Version 4.5.1

http://dominicancreations.com
sales@dominicancreations.com

facebook.com/dominicancreations

SUPPORT SELF-EMPLOYED ARTISANS
Reply With Quote
  #2  
Old 06-26-2010, 09:57 AM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default Re: Template editing

Check language variables, you should find that text there.

Thank you,

Louise Desmarteau
Studio 57 Designs
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
Reply With Quote

The following user thanks dalmuti for this useful post:
DominicanCreations (06-26-2010)
  #3  
Old 06-26-2010, 10:57 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Template editing

use webmaster mode to find the template file.

It has to be customer/head.tpl tho
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
DominicanCreations (06-26-2010)
  #4  
Old 06-26-2010, 11:24 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default 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.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote

The following user thanks Sisom for this useful post:
DominicanCreations (06-26-2010)
  #5  
Old 06-26-2010, 12:17 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Template editing

post contents of customer/head.tpl
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
DominicanCreations (06-26-2010)
  #6  
Old 06-26-2010, 12:27 PM
  DominicanCreations's Avatar 
DominicanCreations DominicanCreations is offline
 

Senior Member
  
Join Date: Jan 2010
Location: Montreal, Canada
Posts: 151
 

Default 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
__________________
X-Cart Version 4.5.1

http://dominicancreations.com
sales@dominicancreations.com

facebook.com/dominicancreations

SUPPORT SELF-EMPLOYED ARTISANS
Reply With Quote
  #7  
Old 06-26-2010, 12:29 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default 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.
__________________
X-Cart Gold Version 4.3.2
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 11:00 PM.

   

 
X-Cart forums © 2001-2020