Download the PHP package sparkalow/craft-activecampaign-forms without Composer
On this page you can find all versions of the php package sparkalow/craft-activecampaign-forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sparkalow/craft-activecampaign-forms
More information about sparkalow/craft-activecampaign-forms
Files in sparkalow/craft-activecampaign-forms
Package craft-activecampaign-forms
Short Description ActiveCampaign forms field for Craft CMS.
License mit
Informations about the package craft-activecampaign-forms
ActiveCampaign Forms
A new field type to easily add ActiveCampaign forms to Craft CMS entries. Render the form in your templates with a simple twig method. Simplify managing form embed snippets for content authors.
Note: This plugin is not affiliated with ActiveCampaign, Inc. It is provided by a 3rd party.
Requirements
This plugin requires Craft CMS 4.4.0, 5.0.0 or later, and PHP 8.0.2 or later.
An ActiveCampaign account is also necessary.
Installation
You can install this plugin via the Plugin Store or using Composer.
From the Plugin Store
Go to the Plugin Store in your project’s Control Panel or the web version and search for “ActiveCampaign Forms”. Then click “Install”.
With Composer
Open your terminal and run the following commands:
Setup
Once the plugin is installed:
- Go to Settings → ActiveCampaign Forms.
- Enter your ActiveCampaign Account URL.
- Enter your API Key.
- Click Save.
See the official docs for info on how to get your API info.
Alternatively, you can also create an activecampaign-forms.php
config file in your /config
directory with the following options.
See Environmental Configuration in the Craft documentation to learn more.
Usage
This plugin provides a new field type for selecting forms created on the ActiveCampaign platform. Create a new ActiveCampaign form field and add it to your entry types.
Once a form is set on an entry, render a form field on the frontend with:
This will render the form using ActiveCampaign's "Simple Embed" markup. This is essentially the same as copy/pasting the embed snippet.