What's New
This topic contains 7 replies, has 4 voices, and was last updated by sanchofred Jan '20.
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
This topic contains 7 replies, has 4 voices, and was last updated by sanchofred Jan '20.
Hello, I have a problem when we click on the logo.
It systematically refers to the French page but not to the language that was displayed.
However when you click on the home of the megamenu it works very well.
Could you help me correct this problem ?
Exemple here: https://www.biopur-habitat.com/it/
https://www.biopur-habitat.com/es/
https://www.biopur-habitat.com/de/
https://www.biopur-habitat.com/en/
Best regards
Hi sanchofred,
As I can see you removed the language prefix for the default language (fr), I did that on my website too and I had the same problem. I don’t know which module you used, but in mine, after the install I had to do a minor modification:
You may need to correct the template file so that when you click on the shop logo, the main page opens in the necessary language. In the header.tpl file of your template, replace the code: {if isset($force_ssl) && $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if} or {$urls.base_url}
to {$link->getPageLink(‘index’)}
Hope that helps!
Andreu
@andreu was right.
The problem is probably caused by one of your customization, you can fix it by editing the \themes\transformer\header.tpl file, to replace this code {if isset($force_ssl) && $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}
with {$link->getPageLink('index')}
You must be logged in to reply to this topic.