View Single Post
  #1  
Old 12-14-2010, 05:17 PM
 
newage newage is offline
 

Member
  
Join Date: Jul 2009
Posts: 29
 

Default Different Language Images

I am working with version 4.4 and I have English and French languages set up and working. I need to have the images different (Main image, company logo, etc.) on the French site.

I have it working on an older version using if statements however I cannot get it to work with version 4.4.

This is what I have

{if $store_language eq "EN"}
<img src="{$AltImagesDir}/fashion_mosaic/welcome.jpg" class="welcome" alt="" />
{else}
<img src="{$AltImagesDir}/fashion_mosaic/welcomeFR.jpg" class="welcome" alt="" />
{/if}


This does not work on version 4.4. I am editing the welcome.tpl.

Any help with this would be greatly appreciated.

Thanks

Shane
__________________
Version 4.2.2
No add-ons
Reply With Quote