Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5360

Anonymous users who click "please login first" link on contribution pages, event registration or profiles should be redirected back to that page after logging in

    Details

      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

        Attachments

          Activity

            People

            • Assignee:
              priya Priya Prajapati
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: