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

Change lbl_your_shopping_cart to an image?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-02-2009, 06:22 PM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Change lbl_your_shopping_cart to an image?

So I'm trying to change lbl_your_shopping_cart to an image src
Code:
<img src="images/order-details.gif" alt="Order Details" />
But it is just showing the code on the site...

Whats the best way to do this?
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #2  
Old 11-02-2009, 06:25 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Change lbl_your_shopping_cart to an image?

Where are you putting this? Where is your image uploaded? If it's in skin1/images then src would be - src="{$ImagesDir}/order-details.gif
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 11-02-2009, 06:44 PM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Re: Change lbl_your_shopping_cart to an image?

I'm editing the languages in the admin...

using your code it just outputs
Code:
<img src="{$ImagesDir}/order-details.gif" alt="Order Details" />

but interestingly enough... it only seems to output the code in Firefox
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #4  
Old 11-02-2009, 06:46 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Change lbl_your_shopping_cart to an image?

Are you trying to put that code inside language variable? Don't think it will work like this. You will have to replace the variable in the template file with this code
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 11-02-2009, 07:04 PM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Re: Change lbl_your_shopping_cart to an image?

Ah - OK... so how would I just get an image to show if I was on the cart.php and not effect any other page titles?
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #6  
Old 11-02-2009, 09:36 PM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Re: Change lbl_your_shopping_cart to an image?

Doh - scratch this - it does work... but not in webmaster mode
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
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 03:37 PM.

   

 
X-Cart forums © 2001-2020