➕️ change json files to php files and add custom fields for projects
Changeing the file type is necessary to use the ts() function during custom field creation. Added new custom fields to map the donation form settings.
This commit is contained in:
parent
968bb9d831
commit
0d9b312a9b
12 changed files with 1262 additions and 606 deletions
|
@ -105,7 +105,7 @@ function civicrm_api3_twingle_campaign_Get(array $params): array {
|
|||
// Get campaign type id for TwingleCampaign
|
||||
$twingle_campaign_campaign_type_id =
|
||||
Cache::getInstance()
|
||||
->getCampaigns()['campaign_types']['twingle_campaign']['id'];
|
||||
->getCampaignIds()['campaign_types']['twingle_campaign']['id'];
|
||||
|
||||
// If no id but a project_id is provided, get all TwingleCampaign children of
|
||||
// this TwingleProject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue