Is there a way to set 'Event confirmation' to 'no' by default? It can done for each event but can this be turned off once and for all?
1 Answer
If you mean to turn off Confirmation screen for Events by default when an Event is created then you can either
- Implement pre hook to set is_confirm_enabled = 0 when $op is create and Objectname is Event
or
Run below sql query
ALTER TABLE
civicrm_event
CHANGEis_confirm_enabled
is_confirm_enabled
TINYINT(4) NULL DEFAULT '0' COMMENT 'If false, the event booking confirmation screen gets skipped';
Note: For paid events Civi by default doesn't skip Confirmation page.
HTH
Pradeep
-
more than a great answer, thanks Pradeep! I've run a
UPDATE
civicrm_event` SETis_confirm_enabled
='0' WHEREis_confirm_enabled
LIKE '1' to modify the events already created Commented Sep 6, 2021 at 14:18 -
For those using WordPress, Christian Wach pushed an update of CiviCRM Event Organiser that offers this option from backend: github.com/christianwach/civicrm-event-organiser Commented Sep 15, 2021 at 9:36
-
Noting if you chose option 2 then the schema default gets reset back to 1 if you upgrade to 5.49.– DemeritCommented Jun 14, 2022 at 20:10