Separate login redirect based on group?

18 years 2 months ago #5768 by mikko
Replied by mikko on topic Re:Separate login redirect based on group?
See the plugin api documentation. There is a funtion onlogin or similar to this that you can define.

mikko

Please Log in to join the conversation.

18 years 2 months ago #5769 by nutbuster
Replied by nutbuster on topic Re:Separate login redirect based on group?
I figured it out. It was actually quite easy. I added a 'loginURL' field to the jacl groups table and modified the login function to redirect the user to the group specified url if it exists.

Perhaps I will publish it as modified JACLPlus component one day if anyone else has a similar need.

Please Log in to join the conversation.

18 years 2 months ago #6794 by chinaman
Replied by chinaman on topic Re:Separate login redirect based on group?
Really like that solution.
Any chance of sharing it here or on joomla boards

Please Log in to join the conversation.

17 years 9 months ago #16520 by simon
Replied by simon on topic Re:Separate login redirect based on group?
Hi....understand your solution using JACL. Need sort of the same function but not depending on the JACL group they user is in but depending on the country they are located (countru as in the cb_country field) any change of helping me out?

Cant find the solutions..:-(

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.229 seconds

Facebook Twitter LinkedIn