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

Gift Certificate Text to Graphic

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-26-2004, 10:10 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default Gift Certificate Text to Graphic

Is it possible to change the text link for "gift certificates" to a graphic link?
(i.e. click on the little picture of the gift certificate to go to the section)
Kinda' a newb question but I can't figure it out.
Reply With Quote
  #2  
Old 04-27-2004, 03:16 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

drop your image in skin1/images directory and add the following code to the template that you wish the link to appear in.

change yourpic.jpg for the name of your image file


Code:
<a href="giftcert.php"> [img]{$ImagesDir}/yourpic.jpg[/img] </a>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 04-27-2004, 01:39 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

Thanks Shan... I can see why your a Guru. I was banging my head trying to figure it out.
Reply With Quote
  #4  
Old 04-28-2004, 09:27 AM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

The mod worked great but now I'm having a problem with image size. it will only show 71x30 pixels max. The image is inside the original "Special" Menu. I can also only seem to align right or left not center it. Any help would greatly be appreciated.
Reply With Quote
  #5  
Old 04-28-2004, 12:17 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

post the code that you have used so far
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 04-28-2004, 06:41 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

Code:
{* $Id: gc_menu.tpl,v 1.12 2003/02/25 08:58:47 olga Exp $ *} <a href="giftcert.php"> [img]{$ImagesDir}/GC.jpg[/img] </a>

That's it??? I don't get it?
Reply With Quote
  #7  
Old 04-29-2004, 04:06 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

here you go

Code:
{* $Id: gc_menu.tpl,v 1.12 2003/02/25 08:58:47 olga Exp $ *} <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0"> <tr> <td align="center" valign="top"><a href="giftcert.php"> [img]{$ImagesDir}/GC.jpg[/img] </a></td> </tr> </table>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #8  
Old 04-29-2004, 07:46 AM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

Thanks Shan.
I'm a fast learner, I figure in the next 70 -75 years I'll be good at it!
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 01:59 AM.

   

 
X-Cart forums © 2001-2020