New answers tagged

0

Half solved: I can actually send HMTL but I've having troubles with templates using css. Probably related to smarty but I don't know how to solve as define smarty is on 1 in settings.php and entities boolean is set to false in CKEditor settings. Is there anything else to set or a clever way to test because disabling was also unsuccessful.


1

You can ALMOST do it with hook_civicrm_emailProcessorContact, but you don't know at that point which ones are cc's. But you might be able to do it with hook_civicrm_emailProcessor because there you know which are cc's, except you only have their email not the contact_id. So I admit this is awkward but you could do something like: For each of the cc's, look ...


1

This doesn't fix the larger issue (see e.g. https://lab.civicrm.org/dev/core/-/issues/1709) but you can update your database to put the full name in the abbreviation field: alter table civicrm_state_province modify column abbreviation varchar(64) DEFAULT NULL; update civicrm_state_province s inner join civicrm_country c ON s.country_id = c.id SET s....


2

As @petednz mentioned, it does sound like that your entries are being merged. You can check what dedupe rule Caldera form is using under the Contact 1 processor. if you didn't create a dedupe rule that always create a new record, then it is likely that it will use an existing rule that merges the new entries. To create a dedupe rule that doesn't merge, you ...


0

There are several ways to get a single view of the new messages. if you are using activity processor, then setting it up to record as an associated activity with the contact record should work (https://github.com/mecachisenros/cf-civicrm/blob/master/docs/processors.md). The other ways are to use the tag processor to add tags or use a group processor to add ...


1

It should be like below // Not returning anything, the tags are not interpreted at all // function mailhooks_civicrm_tokenValues( &$values, &$contactIDs ) { foreach($contactIDs as $id){ $address = \Civi\Api4\Address::get() ->addSelect('street_address', 'supplemental_address_1', 'supplemental_address_2', 'supplemental_address_3', 'city',...


1

Do you create Activity from Caldera form when user submits the Enquiry form? If not than you will need to add Processor to create an activity against the contact who submitted the form.


1

You may want to have a look at the Advanced Newsletter Management Extension. It allows you to configure mailing subscription preference pages in CiviCRM. The extension will then make this information available via its REST API and an external system can generate the pages and present them to your contacts. As it does require some work to set up mailing ...


Top 50 recent answers are included