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

Add text under my phone number?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-14-2009, 03:27 AM
 
simonparker simonparker is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 39
 

Default Add text under my phone number?

I list 2 phone numbers at the top of my home page, but struggling to find out how to add some text below them, to say for example this is for enquiries only, we cannot take telephone orders.

Is there a way to add text there?
__________________
Simon Parker
Birmingham UK
X-Cart Gold
Version 4.3.1
www.autoairconparts.co.uk
Reply With Quote
  #2  
Old 07-14-2009, 04:47 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

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

Default Re: Add text under my phone number?

You'll need to do some template editing - open up skin1/customer/top_menu.tpl and near the bottom, where you see the code that shows the tel no.s add the text below that.
__________________
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
  #3  
Old 07-14-2009, 04:48 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

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

Default Re: Add text under my phone number?

Moving to template editing thread.
__________________
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
  #4  
Old 07-14-2009, 05:06 AM
 
simonparker simonparker is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 39
 

Default Re: Add text under my phone number?

Ok, found the template, i think, and has following code (extract of it). Where would it add the text and in what format, as in, does it need " marks?

<tr>
<td height="35" align="center" class="HeadText">
{if $config.Company.company_phone}{$lng.lbl_phone_1_ti tle}: {$config.Company.company_phone}{/if}{if $config.Company.company_phone_2}&nbsp;&nbsp;&nbsp; {$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}{/if}&nbsp;&nbsp;</td>
</tr>
</table>
{/if}
__________________
Simon Parker
Birmingham UK
X-Cart Gold
Version 4.3.1
www.autoairconparts.co.uk
Reply With Quote
  #5  
Old 07-14-2009, 05:10 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

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

Default Re: Add text under my phone number?

Perhaps change it like this:

<td height="35" align="center" class="HeadText">
{if $config.Company.company_phone}{$lng.lbl_phone_1_ti tle}: {$config.Company.company_phone}{/if}{if $config.Company.company_phone_2}&nbsp;&nbsp;&nbsp; {$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}{/if}&nbsp;&nbsp;<br />this is for enquiries only, we cannot take telephone orders</td>

If you need to change the look, you'll need to add css class to it.
__________________
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
  #6  
Old 07-14-2009, 05:16 AM
 
simonparker simonparker is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 39
 

Default Re: Add text under my phone number?

Excellent, thank you, works a treat. Now need to figure out how to make that text i added 'not bold'. Any idea?
__________________
Simon Parker
Birmingham UK
X-Cart Gold
Version 4.3.1
www.autoairconparts.co.uk
Reply With Quote
  #7  
Old 07-14-2009, 05:19 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

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

Default Re: Add text under my phone number?

Instead of putting the text in that cell and row, create a new row and cell, so that you are not using the "headtext" class that is being applied to that cell.
__________________
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
  #8  
Old 07-14-2009, 05:23 AM
 
simonparker simonparker is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 39
 

Default Re: Add text under my phone number?

I'll give it a go, I'm not technical at all so will see what happens. Scared of messing it all up as not really a clue what i'm doing
__________________
Simon Parker
Birmingham UK
X-Cart Gold
Version 4.3.1
www.autoairconparts.co.uk
Reply With Quote
  #9  
Old 07-14-2009, 05:49 AM
 
simonparker simonparker is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 39
 

Default Re: Add text under my phone number?

Think i've managed it, thanks very much for your help
__________________
Simon Parker
Birmingham UK
X-Cart Gold
Version 4.3.1
www.autoairconparts.co.uk
Reply With Quote
  #10  
Old 07-14-2009, 06:17 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

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

Default Re: Add text under my phone number?

No problem - thanks for your email - I've sent a reply...
__________________
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 12:03 AM.

   

 
X-Cart forums © 2001-2020