Download the PHP package zirak/silverstripe-mailchimp without Composer
On this page you can find all versions of the php package zirak/silverstripe-mailchimp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zirak/silverstripe-mailchimp
More information about zirak/silverstripe-mailchimp
Files in zirak/silverstripe-mailchimp
Package silverstripe-mailchimp
Short Description Adds mailchimp integration to SilverStripe, eventually inside a widget
License
Informations about the package silverstripe-mailchimp
silverstripe-mailchimp
MailChimp subscription form
The form could be injected into a widget, or used inside a page through the MailChimp extension
Maintainer Contact
Gabriele Brosulo [gabriele.brosulo (at) zirak (dot) it]
Features
- Subscription widget form
- Static function callable from outside
Requirements
- Silverstripe framework 3.1.*
- Silverstripe cms 3.1.*
Suggestions
- silverstripe/widget
- zirak/widget-pages-extension
Install
Install it through composer:
Using in a page
Extend the Page class (or whatever class you want to use) whit the MailChimp extension:
Then render the $McSubscribeForm variable inside your template:
Using inside a widget
Simply use the MailChimpSubscribe widget as usual documentation here
Using inside a widget with widget-pages-extension
Define the widgetareas in your pages, like stated in widget-pages-extension module After that define which widget are allowed for your pages, in particular MailChimpSubscribe.
For example your Page.php will become
Run a /dev/build?flush=all and enjoy your widgets. Due to a known issue in widget-pages-extension you have to save each page you will need to put the widgets on. For more information about how to use the widgets please see the widget-pages-extension module documentations
Usage
- Configure your MailChimp APIKEY and ListID
- Enable the widget
- Play with the mailchimp.yml config file in your mysite folder, in conjunction with the MailChimp configurations. Follow a sample mailchimp.yml