2017 © Pedro Peláez
 

ezpublish-legacy-extension mailchimpsubscribe

eZ Publish legacy extension providing a subscribe form for Mailchimp

image

eab/mailchimpsubscribe

eZ Publish legacy extension providing a subscribe form for Mailchimp

  • Thursday, September 3, 2015
  • by eab
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

eabmcsubscribe

eZ Publish 'legacy' extension providing a form allowing users to subscribe to Mailchimp., (*1)

Summary

This eZ Publish 'legacy' extension provides a form allowing users to subscribe to Mailchimp. It is based on v2 of the MailChimp API and includes version 2.0.6 of the official client/wrapper., (*2)

Options

The built-in options are:, (*3)

  • A consent checkbox for subscribers to tick before proceeding - disabled by default, enabled by overriding a template, (*4)

  • Double opt-in - enabled by default, disabled by overriding settings, (*5)

  • Version 2.0 of the ReCaptcha widget, (*6)

    • enabled by default, disabled by overriding settings

License

GNU General Public License 2.0, (*7)

Copyright (C) 2015 Enterprise AB Ltd, (*8)

Requirements

Requires eZ Publish 4 or 5., (*9)

Installation

  1. If you are using composer and have access to the EAB package repository, run:, (*10)

    composer require eab/mailchimpsubscribe --update-no-dev --prefer-dist

    Otherwise, download and copy the eabmcsubscribe folder to the extension folder., (*11)

  2. Edit settings/override/site.ini.append.php, (*12)

  3. Under [ExtensionSettings] add:, (*13)

    ActiveExtensions[]=eabmcsubscribe
  4. Copy mailchimp.ini.append.php to settings/override/mailchimp.ini.append.php and edit it to customise the settings for your website., (*14)

  5. Clear the cache and regenerate the autoload arrays:, (*15)

    php bin/php/ezcache.php --clear-all
    php bin/php/ezpgenerateautoloads.php

Usage

The URL of the subscribe form is at:, (*16)

http://www.example.com/mailchimp/subscribe, (*17)

Customization

  • To add text and images to the subscribe form override design/standard/templates/mailchimp/subscribe.tpl in your own design template., (*18)

  • To enable the consent checkbox for subscribers to tick before proceeding override design/standard/templates/mailchimp/subscribe.tpl in your own design template and add a consent parameter to the {include uri="design:mailchimp/signup.tpl"} line. For example:, (*19)

    {include uri="design:mailchimp/signup.tpl" consent="I agree to everything"}
  • To change the label of the signup button override design/standard/templates/mailchimp/subscribe.tpl in your own design template and add a signup parameter to the {include uri="design:mailchimp/signup.tpl"} line. For example:, (*20)

    {include uri="design:mailchimp/signup.tpl" signup="Sign me up!"}
  • To disable the ReCaptcha widget edit settings/override/mailchimp.ini.append.php:, (*21)

    [RecaptchaSettings]
    Use=disabled
  • To disable double opt-in edit settings/override/mailchimp.ini.append.php:, (*22)

    [MailchimpSettings]
    DoubleOptIn=disabled

The Versions

03/09 2015

dev-master

9999999-dev

eZ Publish legacy extension providing a subscribe form for Mailchimp

  Sources   Download

GPL-2.0

The Requires

 

03/09 2015

1.0.0

1.0.0.0

eZ Publish legacy extension providing a subscribe form for Mailchimp

  Sources   Download

GPL-2.0

The Requires