Topic-icon Login redirection

Active Subscriptions:

None
4 years 5 months ago #65829 by mauurb
Login redirection was created by mauurb
Hello,

after a social login (by Facebook, Google, Twitter and so on), I would need to redirect the user to a specific page ('Artists and Venues' in this case) in his own language. My trial site is currently in italian and english.
On Configuration>Login/Logout I can choose 'Same Page' or an item of a menu in italian or english. So if I select an italian menu item all users (including non italian ones) will be redirected on the corresponding italian page and vice-versa.
So the question is: is there a way to redirect the user on the same page (Artists and Venues) but in their respective language?

Thanks
The topic has been locked.
Support Specialist
4 years 5 months ago #65833 by mel
Replied by mel on topic Login redirection
If you're trying to set a specific menu item to redirect to, can you tell us more about how you have multi-lingual set up on your site? Are you using the built-in language switcher plugin from Joomla? It helps to know how you've set up the multiple languages.

So the question is: is there a way to redirect the user on the same page (Artists and Venues) but in their respective language?

If you are setting JFBConnect to go to the 'Same' page (not a fixed menu item), it will return them to the page they came from. Once they register, we won't know any more details about what language they prefer over when they visit the page initially and either select (or browser detection chooses) a language. So, if 'Same Page' is set, it will always bring them to the same page they were on before they tried to authenticate without any changes to the page.

-Melissa
The topic has been locked.
Active Subscriptions:

None
4 years 5 months ago #65838 by mauurb
Replied by mauurb on topic Login redirection

USER wrote: If you're trying to set a specific menu item to redirect to, can you tell us more about how you have multi-lingual set up on your site? Are you using the built-in language switcher plugin from Joomla? It helps to know how you've set up the multiple languages.


Yes I'm using the built-in Joomla language switcher but I'm afraid there isn't any a solution for my issue, I tried every configurations and combinations but it seems it is impossible to login to a specific page with its own language assigned dynamically because if I choose an italian item I will be redirected to the related italian page while if I choose an english Item I will be redirected to an english page (of course). The only possible setting i with multilingual sites is 'Same page'. Anyway this is an issue of Joomla/Easysocial not yours.

Thank you very much indeed for yor reply :)
The topic has been locked.
Support Specialist
4 years 4 months ago #65851 by alzander
Replied by alzander on topic Login redirection
While we've used the language switcher, we're not super familiar with the ins and outs of it. One thing I would recommend is to change the "Language Selection for new Visitors" setting in the System - Language Filter plugin to "Browser Setting".

That setting should set the user's language to whatever their browser is set to and *I believe* will redirect them from other language versions of a page to the one detected in their browser. I can't guarantee that will work for our New/Returning User Redirection, but it's worth a shot due to how simple that change is.

I hope that helps, but if not or you need anything else, please let us know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
4 years 4 months ago #65852 by mauurb
Replied by mauurb on topic Login redirection

USER wrote: One thing I would recommend is to change the "Language Selection for new Visitors" setting in the System - Language Filter plugin to "Browser Setting".

Thank you Alex, this is a very good trick, I'll try it out.
The topic has been locked.
Support Specialist
4 years 4 months ago #65856 by alzander
Replied by alzander on topic Login redirection
I hope it helps. Keep us posted on how it goes.

-Alex
The topic has been locked.