Jump to content

Advertising Block and languages


Recommended Posts

Hello, I have modified the Advertising Block to include an image according to language. In the template I've modified the text to:

 

<a href="{$adv_link}" title="{$adv_title}"><img src="{$img_ps_dir}vouchers_{$lang_iso}.jpg"

 

I've also included the images in the prestashop directory image folder

 

vouchers_en.jpg

vouchers_fr.jpg

 

The problem is that only the English image shows up whether I switch to French or English. Any idea what the problem could be?

 

FYI, I also seem to be having a problem with an image in the product page template page that is also not switching images according to language even though the {$lang_iso} code has been included.

 

Thanks in advance for helpful hints as to what the problem could be.

 

Regards

 

P.S. I cannot give a link to the site since it is still on a local sever only.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...