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 CiviEvent (Moderator: Yashodha Chaku) »
  • Customize CiviEvent workflow
Pages: [1]

Author Topic: Customize CiviEvent workflow  (Read 782 times)

Roman Zimmermann

  • I’m new here
  • *
  • Posts: 24
  • Karma: 2
    • more onion
Customize CiviEvent workflow
April 29, 2011, 04:19:43 am
What options are there to customize the CiviEvent workflow?

Specifically I'd like to change the confirmation step to be handled in a single form:
1. Online registration form
2. waiting for approval -> pending from approval: mail and receipt are sent
3. Confirm registration in one single click as only „pay later“ is offered

Currently (D7/C4.0) step 3 is handled in three steps:
* simple form that only has two buttons
* the online registration form (again?!)
* a confirmation page that shows exactly the same messages as after the online registration form is sent the first time.

Am I missing something essential?

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: Customize CiviEvent workflow
April 29, 2011, 12:07:14 pm

you can use hooks and make it into a two step form (main page and thank you page). Check this module for ideas

https://github.com/emotive/CiviCRM-No-Confirmation

which does it for the confirmation page

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

Roman Zimmermann

  • I’m new here
  • *
  • Posts: 24
  • Karma: 2
    • more onion
Re: Customize CiviEvent workflow
May 09, 2011, 08:03:23 am
Hi,

I've tried it that way. As it seems Civi4 does not invoke any hooks for CRM_Event_Form_Registration_ParticipantConfirm does not invoke any hooks. (I've hacked it to invoke them though).

Now there is another problem:
The confirmation process has 4 steps:
1. a simple form with confirm / cancel ( handled by Form_Registration_ParticipantConfirm)
2. the registration form (handled by …Form_Registration)
3. a summary
4. a summary and thank you page.

I'd like to jump directly from 1 to 4.
So ideally ParticipantConfirm's postProcess would redirect directly to the thank you page. The hard part is: the thank you page is only available with the right qfKey because it is part of a multi-page form.

So where to go from here?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Customize CiviEvent workflow

This forum was archived on 2017-11-26.