From cb0aafc78232e4a7e3005810222ec830d3006e4a Mon Sep 17 00:00:00 2001 From: Kartik Kathuria Date: Sun, 20 Jun 2021 15:10:46 +0530 Subject: [PATCH] shifted to contribution pages --- CRM/Core/Form/ShortCode.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CRM/Core/Form/ShortCode.php b/CRM/Core/Form/ShortCode.php index e5ed63600d..a0817b5727 100644 --- a/CRM/Core/Form/ShortCode.php +++ b/CRM/Core/Form/ShortCode.php @@ -120,6 +120,14 @@ class CRM_Core_Form_ShortCode extends CRM_Core_Form { } $this->options = [ + [ + 'key' => 'action', + 'components' => ['contribution'], + 'options' => [ + 'transact' => ts('Contribution Page'), + 'setup' => ts('Setup a Personal Campaign Page'), + ], + ], [ 'key' => 'action', 'components' => ['event'], @@ -134,7 +142,6 @@ class CRM_Core_Form_ShortCode extends CRM_Core_Form { 'options' => [ 'info' => ts('Info Page'), 'transact' => ts('Contribution Page'), - 'setup' => ts('Setup a Personal Campaign Page'), ], ], [ -- 2.25.1