jDiction Forum
December 26, 2024, 11:07:27 am
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
jDiction 2.2.0 released.
http://jdiction.org/downloads
Home
Help
Search
Login
Register
jDiction Forum
>
English
>
General Questions
>
jDiction no longer fully working with k2
« previous
next »
Pages: [
1
]
Print
Author
Topic: jDiction no longer fully working with k2 (Read 35738 times)
wonderland
Newbie
Posts: 21
jDiction no longer fully working with k2
«
on:
August 30, 2018, 10:00:03 am »
Hello,
I've noticed a possible bug with k2 and jDiction. I didn't notice at which stage it started, but most likely after last joomla and jDiction update. Currently I'm running joomla 3.8.10 and jDiction 2.2.2
The problem is with language switching within and item, categories work fine.
Here are some examples:
K2 Category view
http://visit.jelgava.lv/apskates-objekti/muzeji-un-ekspozicijas
If you change languages in this view (upper right corner), everything will switch nicely.
K2 Item view
http://visit.jelgava.lv/apskates-objekti/muzeji-un-ekspozicijas/item/81-jelgavas-sv-trisvienibas-baznicas-tornis
If you change languages in this view (upper right corner), 404 error is returned.
The problem here is that, for some reason url is constructed a bit wrong, it is missing some characters when switching language. If you take a look at the url below:
This is the correct working url
http://visit.jelgava.lv/ru/dostoprimechatelnosti/muzei-i-ekspozicii/item/81-jelgavas-sv-trisvienibas-baznicas-tornis
But language switcher cuts some symbols from the url "/it"
http://visit.jelgava.lv/ru/dostoprimechatelnosti/muzei-i-ekspoziciiem/81-jelgavas-sv-trisvienibas-baznicas-tornis
What makes this problem very hard to understand, at least for me. Is that this problem occurs only when switching from Latvian (LV) language to others. If I use English or Russian as and then switch to other languages, there is no such problem.
Logged
Harald Leithner
Administrator
Hero Member
Posts: 1688
Re: jDiction no longer fully working with k2
«
Reply #1 on:
August 30, 2018, 12:09:16 pm »
Hi,
the problem is not so hard to understand ;-)
the reason is because you primary language (LV) doesn't use the language tag in the url. And the jdiction languageswitch doesn't honor this case correctly...
If you change this behavior in the joomla language swtiches it should work.
I will check this in jdiction but can't promise when I have fixed it.
Logged
Joomla! 5.0 Release Manager
Vote at JED
wonderland
Newbie
Posts: 21
Re: jDiction no longer fully working with k2
«
Reply #2 on:
August 31, 2018, 12:34:17 am »
Hi,
Thank you so much for such a fast response!
I'm just switching back to having language tag in primary language.
Will keep this in mind for the future
Logged
Harald Leithner
Administrator
Hero Member
Posts: 1688
Re: jDiction no longer fully working with k2
«
Reply #3 on:
September 25, 2018, 12:21:55 pm »
I have a test version that should work at
https://forum.jdiction.org/index.php?topic=1241.new;topicseen#new
Logged
Joomla! 5.0 Release Manager
Vote at JED
Print
Pages: [
1
]
« previous
next »
jDiction Forum
>
English
>
General Questions
>
jDiction no longer fully working with k2