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 CiviCampaign (Moderators: Kiran Jagtap, xavier) »
  • Redirect does not work
Pages: [1]

Author Topic: Redirect does not work  (Read 2370 times)

JulesM

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
    • Michigan Rising
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.0.95-community
  • PHP version: 5.3.8
Redirect does not work
July 17, 2012, 08:08:23 pm
Hi,

I have a petition and the profiles are created and function pretty good. Except once the petition is signed, and therefore the form completed and submitted, I need it to redirect to a donor contribution page.

Both my Activity and Contact profiles for this petition are set to redirect to said contribution form but instead of redirecting, I'm just getting the arbitrary Thank You page instead.

Not sure where to go from here. Any help appreciated.

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 does not work
July 17, 2012, 08:22:15 pm

I just checked the petition signature code and it always redirects to the thankyou page.

Ideally you'd want to have a url field in the petition information for the redirect url if different from the default. But seems like the functonality has not yet been added to the code base

If you org can contribute developer resources to make this happen that would be great. Seems like this is a fairly short simple project

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

JulesM

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
    • Michigan Rising
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.0.95-community
  • PHP version: 5.3.8
Re: Redirect does not work
July 18, 2012, 07:25:56 am
Thank you Lobo, I'll see what I can do.

joemcl

  • I post occasionally
  • **
  • Posts: 72
  • Karma: 1
    • Citizen Action of New York
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.34
  • MySQL version: 5.6
  • PHP version: Unsure
Re: Redirect does not work
August 07, 2013, 11:48:15 am
Has redirect code been added/updated in 4.3+ by any chance?
thanks

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Redirect does not work
August 11, 2013, 06:58:52 pm
Lobo  - Joe's interest is on redirecting event pages rather than petitions. Do you think adding post_URL to the event (& possibly contribution page tables ) would make sense here?

I guess it would kick in when loading the thank you page
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

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 does not work
August 11, 2013, 07:46:12 pm

i'd probably say no for now since this does not seem to be a common enough request and is best dealt with an extension (storing data in its own tables)

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 CiviCampaign (Moderators: Kiran Jagtap, xavier) »
  • Redirect does not work

This forum was archived on 2017-11-26.