Skip to Content Skip to Menu

CB Login Redirect to last visited page

13 years 8 months ago #153831 by amahadevan
CB Login Redirect to last visited page was created by amahadevan
Hi,

I am using CB Login Module. I would like to redirect to the last visited page after i click login.

I saw a option "Login Redirection URL" in CB Login module. I tried using "javascript:history.go(-1)" but it does not work.

Can you provide me a better way to do it.

Regards,
Mahadevan

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8280
  • Karma: 1443
13 years 8 months ago #153864 by krileon
Replied by krileon on topic Re: CB Login Redirect to last visited page
Leaving the login redirect URL as blank will cause the user to be sent to the previous page assuming it is not: Registeration, Login, or Access Denied page.


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.
The following user(s) said Thank You: donkey12

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

13 years 8 months ago #153881 by amahadevan
Replied by amahadevan on topic Re: CB Login Redirect to last visited page
Hi,

Leaving the login redirect URL as blank leads me to the same page not the previous viewed page.

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

13 years 2 months ago #172785 by spikesantee
Replied by spikesantee on topic Re: CB Login Redirect to last visited page
I have a Joomla 1.5.23 on a Bluehost server installed with Simple Scripts.

I have Community Builder 1.7.

I have the Login Redirection URL set to blank.

When a user who is not logged in clicks on a Register to Read More article, they are redirected to the CB Login. Once the user logs in, they are redirected to the home page. I can't figure out why it won't work.

I tried to disable sh404SEF. That didn't make any difference.

I have Disable Core Registration installed. Turning it off and on doesn't help.

I can't figure out why this doesn't work. I'd love some help.

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

Moderators: beatnantkrileon
Powered by Kunena Forum