jDiction Forum

English => General Questions => Topic started by: intrelis on February 28, 2014, 08:23:46 pm

Title: Switching between articles with Joomla default
Post by: intrelis on February 28, 2014, 08:23:46 pm
I know it is not possible with this plugin to disable an article for a specific language, you have said so yourself in the past. So as suggested, I am using, when needed, the default Joomla solution, which is to create two (or more) articles and publish each of them only in the desired language. However, an error occurs when I try to change the language from within the article. Since the same article in two different language is actually two different articles with two different IDs, the jDiction link that looks for the ID, ?view=article&id=XXX, gives a 404 error. I realize hardly anyone is going to switch the language from within an article, but it is not impossible, if they arrived from, say, google. So it bothers me and I can't find a solution. Any ideas?
Title: Re: Switching between articles with Joomla default
Post by: Harald Leithner on February 28, 2014, 08:26:18 pm
Hmm... I think the plugin doesn't consider this... I will try support to this.
Title: Re: Switching between articles with Joomla default
Post by: intrelis on March 05, 2014, 06:02:22 pm
Ok, thanks.
Title: Re: Switching between articles with Joomla default
Post by: intrelis on March 07, 2014, 03:38:08 pm
Since it is impossible to have the plugin find the article that corresponds to this one in the other language, maybe it could redirect to the previous known url, or the parent category, or something like that?
Title: Re: Switching between articles with Joomla default
Post by: Harald Leithner on March 07, 2014, 04:03:11 pm
The API for Associations changed in Joomla 3.2.0 now it should work again.

Use the attached version.
Title: Re: Switching between articles with Joomla default
Post by: intrelis on March 07, 2014, 04:17:32 pm
Hmm, but I am using J2.5 and I am not sure I want to move on just yet.
Title: Re: Switching between articles with Joomla default
Post by: Harald Leithner on March 07, 2014, 04:19:13 pm
Oh I forgot that what a second.
Title: Re: Switching between articles with Joomla default
Post by: Harald Leithner on March 07, 2014, 05:35:03 pm
Ok Joomla 2.5 doesn't support this type of Associations. It only support menuitem association.

So it could not connect 2 articles in 2 different languages.