PHP code example of zirak / silverstripe-mailchimp
1. Go to this page and download the library: Download zirak/silverstripe-mailchimp library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zirak / silverstripe-mailchimp example snippets
class Page extends SiteTree {
private static $db = array(
);
private static $has_one = array(
'SideBar' => 'WidgetArea'
);
private static $allowed_widgets = array(
'MailChimpSubscribe'
);
}