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 CiviContribute (Moderator: Donald Lobo) »
  • redirecting contribution page
Pages: [1]

Author Topic: redirecting contribution page  (Read 414 times)

dhirendra

  • I’m new here
  • *
  • Posts: 27
  • Karma: -1
  • CiviCRM version: 4.4.3
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5.3.3
redirecting contribution page
April 01, 2014, 01:42:28 am
Please someone tell me how to redirect the contribution page to webform after the user has submitted the form.
I just want to display the webform instead of Thankyou page.
Hoping collman should have solution for this.

Thank you.

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: redirecting contribution page
April 01, 2014, 08:34:41 am

You can use the postProcess hook on the confirm page and do the redirect there

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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: redirecting contribution page
April 01, 2014, 01:59:24 pm
You could try the frontendoptions extension - I even added a readme & put up an extension page just for you :-)

https://civicrm.org/extensions/front-end-page-options
https://github.com/eileenmcnaughton/nz.co.fuzion.frontendpageoptions
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

dhirendra

  • I’m new here
  • *
  • Posts: 27
  • Karma: -1
  • CiviCRM version: 4.4.3
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5.3.3
Re: redirecting contribution page
April 03, 2014, 10:32:24 pm
Thank you very much for replying to me lobo and eileen.
Really sweet thanks to both of you.

.....I tried using postProcess , but it didnt work for me.
so i removed the webform and added the custom fields  like email ,first name , last name on contribution page.
But now i am using user_save() to create the account for custom field data.
But its giving me error which is been attached here.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • redirecting contribution page

This forum was archived on 2017-11-26.