CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Redirect isn't working after editing user account profile
Pages: [1]

Author Topic: Redirect isn't working after editing user account profile  (Read 2805 times)

moondancerjen

  • I’m new here
  • *
  • Posts: 29
  • Karma: 1
Redirect isn't working after editing user account profile
October 06, 2008, 10:05:12 am
I've set up a CiviCRM profile with these marked: User Registration, View/Edit User Account, Profile.  It is mostly used on the Edit Drupal User form. 

In the profile settings I set the Redirect URL to go to http://www.mysite.org/members and after I submit the Edit Contact form it takes me to Drupal user page, not http://www.mysite.org/members

Does redirect just not work for the edit user account page?  Is the format of my URL incorrect?  Are there other settings that need to be set to allow redirects?  Are there any workarounds to get this to work?

Just FYI: I am running CiviCRM 2.05 on Drupal 5.7

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Redirect isn't working after editing user account profile
October 06, 2008, 10:25:36 am

drupal controls the edit user account page. so the redirect url will not work on that page

you can potentially hack around it by implementing your own user hook and redirecting to where needed. however u will need to ensure that the civicrm hook is called first (so the info is saved). Doing a redirect means hooks following your hook will not be called (hence civicrm does not redirect)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Redirect isn't working after editing user account profile

This forum was archived on 2017-11-26.