Author Topic: Wrong redirection after login - Joomla 3.7.4 multilingual site  (Read 1297 times)

Ventsi Genchev

  • Jr. Member
  • **
  • Posts: 290
    • Audio Store
Joomla 3.7.4 (The problem may also exist with Joomla 3.7.3)
Virutemart 3.2.2/3.2.3/3.2.4
Multilingual site

Issue:
When a user is in a category or product page, he does not stay on the same page after logging in.
It does not matter the current state of the language or site setting.

Temporary solution to the problem:
Plugin System - Language Filter - Toggle the "Automatic Language Change" option to No
(This excludes the ability for the site to automatically change the language according to the user's profile once it is identified on the site. But it will not redirect the user to another page after login.)
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9937
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Wrong redirection after login - Joomla 3.7.4 multilingual site
« Reply #1 on: August 01, 2017, 08:16:09 am »
The module is by joomla, so I think that is a joomla problem
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Ventsi Genchev

  • Jr. Member
  • **
  • Posts: 290
    • Audio Store
Re: Wrong redirection after login - Joomla 3.7.4 multilingual site
« Reply #2 on: August 01, 2017, 08:21:29 am »
I also share your opinion.
I just make it clear to save somebody lost hours in search of the problem.
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Ventsi Genchev

  • Jr. Member
  • **
  • Posts: 290
    • Audio Store
Re: Wrong redirection after login - Joomla 3.7.4 multilingual site
« Reply #3 on: August 07, 2017, 11:15:31 am »
To be more accurate:
There is no problem with Joomla's menus. If everything is properly associated with menus, there is no problem.
Since Virtuemart is unable to switch languages between categories (if each category is not added to the menu and associated) and products, Joomla can not establish an association.
So login to the site behaves the same way as switching languages - transfers the user to the first associated category.

So I wrote that the decision is temporary. Perhaps one day there will be no problem when switching languages between categories and products.
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9937
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Wrong redirection after login - Joomla 3.7.4 multilingual site
« Reply #4 on: August 07, 2017, 11:33:10 am »
Since Virtuemart is unable to switch languages between categories (if each category is not added to the menu and associated)

That is not really true. The point is, that we dont need associations. Without SEF it works wonderful easy and good. The problem here is the SEF and to create a link, if there is no joomla menu for it.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Ventsi Genchev

  • Jr. Member
  • **
  • Posts: 290
    • Audio Store
Re: Wrong redirection after login - Joomla 3.7.4 multilingual site
« Reply #5 on: August 07, 2017, 11:35:41 am »
I agree, but without SEF does not look good.  :)
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English