I am working on Joomla 3.x I have a requirement to redirect to a new page after logging in. I know that in the input module in the module there is an option in which we can specify the "login redirection page". This works great. it redirects to the place where I want.
However, the problem is: After the user creates a new account (I turned off the registration process, so activation of links by e-mail is not required), the user is presented with a login form (not from the module) from the component com_users. After providing the credentials, instead of redirecting to the desired page that I installed in the module manager, it goes to the profile page of the com_users component. index.php / component / users /? = profile view
I need your suggestions for changing this default behavior. Is there a place where I can set up a redirect page for the com_users component, similar to the way we have for the login module? Do I need to switch to Joomla kernel code changes? Or do I need to create a plugin that can run after the OnLoginUser event?
Waiting for suggestions from you guys.
Thanks and greetings, Gaurav Pandya
source share