Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.1
-
Component/s: CiviContribute, CiviCRM Profile, CiviEvent, CiviMember, CiviPledge, Core CiviCRM
-
Labels:None
Description
NOTE: This is currently implemented for Drupal CiviCRM sites only. If someone can provide a way to pass a redirect destination to Joomla's user login form - then we can look at implementing for Joomla as well.
This modification adds "destination=$urlEncodedCurrentPathAndQueryString" to the drupal/user URL provided in the "login" link in this prompt:
"Please enter a user name to create an account. If you already have an account, please login before completing this form."
This ensures that users will be redirected BACK to the contribution page, event reg page or profile they were originally viewing AFTER they login.
See this post for original issue report: http://forum.civicrm.org/index.php/topic,10681.0.html