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)
-   -   Change lbl_your_shopping_cart to an image? (https://forum.x-cart.com/showthread.php?t=50490)

Tye 11-02-2009 06:22 PM

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?

cflsystems 11-02-2009 06:25 PM

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

Tye 11-02-2009 06:44 PM

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

cflsystems 11-02-2009 06:46 PM

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

Tye 11-02-2009 07:04 PM

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?

Tye 11-02-2009 09:36 PM

Re: Change lbl_your_shopping_cart to an image?
 
Doh - scratch this - it does work... but not in webmaster mode :)


All times are GMT -8. The time now is 02:17 PM.

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