Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Contact Form 7 CiviCRM integration

Descrição

This plugin adds integration for CiviCRM to Contact Form 7. With this plugin it is possible to submit a contact to a local or remote CiviCRM system.

This adds a CiviCRM tab to Contact Form confgurations. If you enable CiviCRM processing the form will be submitted to the CiviCRM API v3. For information about using CiviCRM’s API see https://docs.civicrm.org/dev/en/latest/api/

The API requires an Entity and an Action. You may need to add additional parameters depending for the Entity/Action you specify. Use the API Explorer on your CiviCRM system to determine what additional parameters are required. The form parameters will automatically be included in the API call and the form variables need to match those expected by the API.
For example, if the API call needs a field called first_name then your form template should have a field called first_name (not first-name or firstName etc)

Ecrãs

  • This screenshot shows the settings screen
  • This screenshot shows the screen for enabling and setting up CiviCRM integration on a contact form.

Instalação

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings > CiviCRM Contact Form 7 Settings screen to configure the plugin, or follow the Settings link from the plugins page
  4. Enable CiviCRM on each CF7 form.

Avaliações

28 Junho, 2022 3 respostas
Since I got this working (with some quick and helpful advice from the author) it has worked very well. I love the flexibility of the API/form processor approach, which basically lets you do anything API v3 can do. The functionality is better than the Caldera Forms it replaced and it’s free! The catch is it’s really quite difficult to set up because the documentation is incomplete and debugging is difficult (the “API REST Log” extension in CiviCRM looks useful but I couldn’t get it to work). The two big “gotchas” that caught me were the example CiviCRM path was wrong for WordPress (should be wp-json/civicrm/v3/rest) and the names of the form fields must match the entity names in the API, some of which (custom fields) are quite hard to discover. The problem is, there are a lot of things you have to get right (paths, permissions, API keys, variable names, API and PHP versions) and there are so many permutations of all of these that if it doesn’t work you can spend days and days googling for clues and tearing hair out.
Ler 1 avaliação

Contribuidores e programadores

“Contact Form 7 CiviCRM integration” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Registo de alterações

1.9

Fix for WordPress 5.8

1.8

Fix for validation when no local CiviCRM

1.7

Added validation to settings page
Added link to settings from plugins page

1.6

  • Updated readme

1.5

  • Updated readme

1.4

  • Updated text domain

1.3

  • Updated data handling and added a path for the civicrm installation

1.2

  • Updated readme

1.1

  • Changed text domain

1.0

  • Initial commit