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)
-   -   Use image for product name instead of text? (https://forum.x-cart.com/showthread.php?t=28266)

PhilJ 02-01-2007 03:04 PM

Re: Use image for product name instead of text?
 
It's fairly lightweight... only a small flash movie and bit of javascript.

The beauty of it is that you can use any font, but you need really Flash installed to customise the output to your requirement.

I can help if you drop me a line.

There's always this Smarty plugin for titles...
http://www.cerdmann.com/imagetext/

That might be an easier solution, you'll need GD Library installed on your server.

PhilJ 02-02-2007 03:33 AM

Re: Use image for product name instead of text?
 
ImageText was easy enough to get working...

SIFR is a lot more flexible though, as it preserves the H1, H2 tags etc, so it's better for SEO.

PhilJ 02-02-2007 12:17 PM

Re: Use image for product name instead of text?
 
Here you go Mitash...

http://www.xcartmods.co.uk/count/click.php?id=18

mitash 02-02-2007 02:30 PM

Re: Use image for product name instead of text?
 
Whow, that was quick!

Phil, thanks for the mod... I will install it and let you know how I go. :)

Thanks again!
Cheers

mitash 02-02-2007 02:57 PM

Re: Use image for product name instead of text?
 
Phil,

I have done the rest but where exactly in product.tpl ...I add

Code:

{imagetext text="`$product.product`" style="impact"}
{imagetext text="£`$product.price`" style="impact"}


PhilJ 02-02-2007 03:01 PM

Re: Use image for product name instead of text?
 
Wherever you want.

Try adding..
Code:

{imagetext text="`$product.product`" style="impact"}
Above...
Code:

{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{/if}

mitash 02-02-2007 03:10 PM

Re: Use image for product name instead of text?
 
ok i tried that...

i get this error...

Code:

Warning: imagegif() [function.imagegif]: Unable to open 'textcache/cache/impact_8daae421aafe518648e1638e283b5d4c.gif' for writing in /home/gracious/public_html/Smarty-2.6.12/plugins/shared.imagetext.php on line 205
Isobel


mitash 02-02-2007 03:13 PM

Re: Use image for product name instead of text?
 
i tried filezilla and coreftp and it wont allow me to change the permissions of the cache folder to 666 it changes itself to 766 that could be the problem?

how do i fix that

PhilJ 02-02-2007 03:16 PM

Re: Use image for product name instead of text?
 
ugh.

1) Have you made the /textcache/cache directory writable?
2) Are you sure you have GD library installed on your server? Most Linux servers have it installed.

mitash 02-02-2007 03:21 PM

Re: Use image for product name instead of text?
 
yup i have just given textcache/cache directoy 666 permissions...

how do i check if my Linux server has GD library installed...


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

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