Login Form

Need help installing Joomla! 4.x? For all Joomla! 4.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
alanpollenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Thu Jan 05, 2017 4:37 pm

Login Form

Post by alanpollenz » Thu Sep 21, 2023 1:30 am

When a user logs into the website at

https://pollenz.net/index.php/login-form

they are sent to

https://pollenz.net/index.php?Itemid=114

which is a menu heading so they get an error message. I have attempted in the login module to change the login redirection page to my home page at

https://pollenz.net/index.php

which is item id 102. However, the system still wants to send the user to item id 114. I have enabled redirection and am redirecting for now, but that is really not a solution to the login module not sending the user to the correct page after logging in.

Any ideas or suggestions?

Thanks in advance.

Alan

Mr. Wimpy
Joomla! Explorer
Joomla! Explorer
Posts: 429
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: Login Form

Post by Mr. Wimpy » Thu Sep 21, 2023 7:17 am

Your login page is handled by the login menu-item, not the login module.

Go to your login menu item.
Set the redirect under the tab Options.

alanpollenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Thu Jan 05, 2017 4:37 pm

Re: Login Form

Post by alanpollenz » Thu Sep 21, 2023 9:58 am

Mr. Wimpy,

Thanks very much. That did the trick.

One more question... if a user is not logged in, is it possible to redirect them to the referring url when they do log in? For example, if a logged out user clicks on the "Part Three" menu item under the "Chapters" menu heading, the login form will be displayed. After logging in, is it possible to redirect them back to the "Part Three" (or whatever they clicked on before being directed to the login form)?

Thanks.

Alan

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9318
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Login Form

Post by AMurray » Thu Sep 21, 2023 9:06 pm

I don't know if the core login form module does it but this one will do what you want (direct user back to the page they were trying to access): https://extensions.joomla.org/extension ... /ut-login/
Regards - A Murray

alanpollenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Thu Jan 05, 2017 4:37 pm

Re: Login Form

Post by alanpollenz » Thu Sep 21, 2023 10:49 pm

Thank you… I will check it out 👍


Post Reply

Return to “Installation Joomla! 4.x”