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

Use image for product name instead of text?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 02-01-2007, 03:04 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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.
__________________
xcartmods.co.uk
Reply With Quote
  #12  
Old 02-02-2007, 03:33 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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.
__________________
xcartmods.co.uk
Reply With Quote
  #13  
Old 02-02-2007, 12:17 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Use image for product name instead of text?

Here you go Mitash...

http://www.xcartmods.co.uk/count/click.php?id=18
__________________
xcartmods.co.uk
Reply With Quote
  #14  
Old 02-02-2007, 02:30 PM
  mitash's Avatar 
mitash mitash is offline
 

X-Adept
  
Join Date: Jan 2006
Location: Australia
Posts: 450
 

Default 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
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance

Call within Australia:
Phone: 1300 648 274 | Mobile: 0417 241 950
Call outside Australia:
+61 417 241 950 |

Email:
results@mitash.com | Skype: mitashau | Web: www.mitash.com
Reply With Quote
  #15  
Old 02-02-2007, 02:57 PM
  mitash's Avatar 
mitash mitash is offline
 

X-Adept
  
Join Date: Jan 2006
Location: Australia
Posts: 450
 

Default 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"}
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance

Call within Australia:
Phone: 1300 648 274 | Mobile: 0417 241 950
Call outside Australia:
+61 417 241 950 |

Email:
results@mitash.com | Skype: mitashau | Web: www.mitash.com
Reply With Quote
  #16  
Old 02-02-2007, 03:01 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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}
__________________
xcartmods.co.uk
Reply With Quote
  #17  
Old 02-02-2007, 03:10 PM
  mitash's Avatar 
mitash mitash is offline
 

X-Adept
  
Join Date: Jan 2006
Location: Australia
Posts: 450
 

Default 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
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance

Call within Australia:
Phone: 1300 648 274 | Mobile: 0417 241 950
Call outside Australia:
+61 417 241 950 |

Email:
results@mitash.com | Skype: mitashau | Web: www.mitash.com
Reply With Quote
  #18  
Old 02-02-2007, 03:13 PM
  mitash's Avatar 
mitash mitash is offline
 

X-Adept
  
Join Date: Jan 2006
Location: Australia
Posts: 450
 

Default 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
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance

Call within Australia:
Phone: 1300 648 274 | Mobile: 0417 241 950
Call outside Australia:
+61 417 241 950 |

Email:
results@mitash.com | Skype: mitashau | Web: www.mitash.com
Reply With Quote
  #19  
Old 02-02-2007, 03:16 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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.
__________________
xcartmods.co.uk
Reply With Quote
  #20  
Old 02-02-2007, 03:21 PM
  mitash's Avatar 
mitash mitash is offline
 

X-Adept
  
Join Date: Jan 2006
Location: Australia
Posts: 450
 

Default 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...
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance

Call within Australia:
Phone: 1300 648 274 | Mobile: 0417 241 950
Call outside Australia:
+61 417 241 950 |

Email:
results@mitash.com | Skype: mitashau | Web: www.mitash.com
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:27 AM.

   

 
X-Cart forums © 2001-2020