このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Contact Form 7 CiviCRM integration

説明

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)

スクリーンショット

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

インストール

  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.

評価

2022年6月28日 3 replies
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.
1件のレビューをすべて表示

貢献者と開発者

Contact Form 7 CiviCRM integration はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Contact Form 7 CiviCRM integration” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

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