jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Switching between articles with Joomla default  (Read 13252 times)

intrelis

  • Newbie
  • *
  • Posts: 17
    • View Profile
Switching between articles with Joomla default
« 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?
« Last Edit: February 28, 2014, 10:33:20 pm by intrelis »
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Switching between articles with Joomla default
« Reply #1 on: February 28, 2014, 08:26:18 pm »

Hmm... I think the plugin doesn't consider this... I will try support to this.
Logged
Joomla! 5.0 Release Manager
Vote at JED

intrelis

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Switching between articles with Joomla default
« Reply #2 on: March 05, 2014, 06:02:22 pm »

Ok, thanks.
Logged

intrelis

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Switching between articles with Joomla default
« Reply #3 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?
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Switching between articles with Joomla default
« Reply #4 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

intrelis

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Switching between articles with Joomla default
« Reply #5 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.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Switching between articles with Joomla default
« Reply #6 on: March 07, 2014, 04:19:13 pm »

Oh I forgot that what a second.
Logged
Joomla! 5.0 Release Manager
Vote at JED

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Switching between articles with Joomla default
« Reply #7 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED