Skip to Content Skip to Menu

[SOLVED] How to substitute the default Joomla login

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 4 months ago - 10 years 4 months ago #246167 by krileon
Replied by krileon on topic How to substitute the default Joomla login
CB Core Redirect stores the return URL that Joomla has set. It then adds it to CBs login module form so it can return the user to their previous location. This behavior should be working as long as latest CB Core Redirect is installed. CB won't use return URLs though if you have a login redirect specified in your module or the first time login redirect, if used, within CB > Configuration > Registration.

If it's still not working then it's possibly bugged. If this is the case then please let us know as CB Core Redirect functionality has merged into CB 2.0 core system plugin so we want to make sure it's 100% functional.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 10 years 4 months ago by krileon.

Please Log in or Create an account to join the conversation.

10 years 4 months ago #246168 by it@iuslaboris.com
Replied by it@iuslaboris.com on topic How to substitute the default Joomla login
After a third check, I can confirm I left those fields blank : redirect after login in cb module and redirect after first login in cb configuration.

And I still get to the home page after a login. I also checked in CB autoActions, and disabled the joomla Redirect plug-in. I don't know which other component or setting could cause the issue.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 4 months ago #246173 by krileon
Replied by krileon on topic How to substitute the default Joomla login
Appears to be working fine in my tests. Do you have a module class suffix set within your CB Login module parameters? It's looking for a specific ID and I believe the module class suffix is appended to it, which maybe causing the return URL failing to add to the module. This is resolved in CB 2.0 where the ID can't be altered.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

10 years 4 months ago - 10 years 4 months ago #246178 by it@iuslaboris.com
Replied by it@iuslaboris.com on topic How to substitute the default Joomla login
Hi Krileon,

I have no class set in the module parameters, but that might be a good lead.
Last edit: 10 years 4 months ago by it@iuslaboris.com.

Please Log in or Create an account to join the conversation.

10 years 4 months ago - 10 years 4 months ago #246180 by it@iuslaboris.com
Replied by it@iuslaboris.com on topic How to substitute the default Joomla login
When I run the debug console, I can see the url I try to reach after login is stored in the session. This is so frustrating...
Last edit: 10 years 4 months ago by it@iuslaboris.com.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 4 months ago #246188 by krileon
Replied by krileon on topic How to substitute the default Joomla login
Press F12 to open your browsers developer console then view the Console tab when being redirect and on the landing login page. If you see any fatal (red) errors then the JS that moves the session redirect to the form is probably being broken as fatal JS errors cause all following JS to fail.

For me to look into this further you'll need to PM backend super administrator login credentials as well as provide steps to reproduce your issue.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum