Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language Based Changing Images!!!


Guest

Recommended Posts

Posted

Hi;

 

i put an image to index.php.How can i make it changing, while switching other languages?

 

my code is

<tr><td colspan=2><a href=<?=tep_href_link('product_info.php', 'cPath=23&products_id=55')?>><img src=images/qwk055.gif width=161 height=118 border=0></a></td></tr>

 

Thanks For helps!!! :rolleyes:

Posted

you check the language setting before displaying the equivalent image. You could use either the $language or $language_id global var for it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...