jDiction Forum

English => General Questions => Topic started by: MarijnJ on August 03, 2016, 01:48:04 pm

Title: Hyperlinks go to default language
Post by: MarijnJ on August 03, 2016, 01:48:04 pm
Dear Harald,
I have the same problem as hkk (http://forum.jdiction.org/index.php/topic,860.msg3434.html#msg3434) for www.exo-l.com. jDiction works perfectly for all menu items, but for hyperlinks in custom html modules, the header-logo etc. it always goes back to the default language (dutch in my case). This happens for links without languagecode (like the logo) and the proposed fix at the bottom of the other thread of changing the languagefilter.php file unfortunately doesn't work for me.

Here is the checkpage:
 
Version   
Library Version: 1.4.2
Joomla Version 3.5.1 is unkown.
Plugin   
Joomla Languagefilter Plugin is enabled
JDiction Plugin is enabled.
Database   
jDiction Database Driver is selected
Language
Translations are not equal to frontend translations.
One language has not accesslevel public.
Module
Module is enabled
Common mistakes   
At least one module has the language set not to ALL.
The default editor is not tinymce, jDiction does only support tinymce at the moment.


As a workaround I have changed every hyperlink in every translation, but unfortunately I cannot do this for every link on the page, like the logo for example.
I know it used to work before, but I don't remember when this stopped working or what could have caused it? Could it be the joomla version or do you have a different idea? I really looked through the forum for possible solutions but couldn't find anything.

Kind regards,
Marijn Jeurissen
Title: Re: Hyperlinks go to default language
Post by: Harald Leithner on August 03, 2016, 02:14:54 pm
It seams that Joomla ignores the cookie, because the lang cookie get set but will be overridden when clicking on the logo link

that shouldn't happen, I'm not sure where the problem is, maybe you can update to 3.6.1?
Title: Re: Hyperlinks go to default language
Post by: MarijnJ on August 04, 2016, 01:02:44 pm
I updated joomla and it solved the problem on the test site, but not the actual website. So I'm going to look further into this and let you know when I find anything. Thank you for the suggestion.
Title: Re: Hyperlinks go to default language
Post by: Harald Leithner on August 04, 2016, 01:14:44 pm
ok please let me know if you find the problem.