2017 © Pedro Peláez
 

craft-plugin email-subscriptions

Allows subscribing and unsubscribing from 3rd party email lists.

image

kuriousagency/email-subscriptions

Allows subscribing and unsubscribing from 3rd party email lists.

  • Thursday, May 17, 2018
  • by Kurious
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 17 % Grown

The README.md

Email Subscriptions plugin for Craft CMS 3.x

Allows subscribing and unsubscribing from 3rd party email lists., (*1)

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later., (*2)

Installation

To install the plugin, follow these instructions., (*3)

  1. Open your terminal and go to your Craft project:, (*4)

    cd /path/to/project
  2. Then tell Composer to load the plugin:, (*5)

    composer require KuriousAgency/email-subscriptions
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Email Subscriptions., (*6)

Email Subscriptions Overview

This is a simple plugin that allows a user to manage their email list subscriptions on a 3rd party service like MailChimp for example., (*7)

They can subscribe and unsubscribe from any of the lists within your 3rd party service account., (*8)

Currently the only supported service is MailChimp., (*9)

Configuring Email Subscriptions

Within the plugin settings, choose a 3rd party service and enter the API key., (*10)

Example Form



{{ csrfInput() }} {% for list in craft.emailSubscriptions.lists %} {% endfor %}

Variables

You can get the lists that an email is subscribed to via:, (*11)

craft.emailSubscriptions.getListsByEmail('name@email.com')

if you do not pass in an email address then it will use the current user's email., (*12)

craft.emailSubscriptions.listsByEmail

Flash Messages

Two messages can set by the plugin:, (*13)

{% set success = craft.session.getFlash('notice') %}

{% set error = craft.session.getFlash('error') %}

Email Subscriptions Roadmap

Some things to do, and ideas for potential features:, (*14)

  • Support other 3rd party services.
  • update subscriptions on saveUser event.

Brought to you by Kurious Agency, (*15)

The Versions

17/05 2018

dev-master

9999999-dev

Allows subscribing and unsubscribing from 3rd party email lists.

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft email subscriptions

17/05 2018

dev-develop

dev-develop

Allows subscribing and unsubscribing from 3rd party email lists.

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft email subscriptions

17/05 2018

1.0.1

1.0.1.0

Allows subscribing and unsubscribing from 3rd party email lists.

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft email subscriptions

17/05 2018

1.0.0

1.0.0.0

Allows subscribing and unsubscribing from 3rd party email lists.

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft email subscriptions

17/05 2018

0.0.1

0.0.1.0

Allows subscribing and unsubscribing from 3rd party email lists.

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft email subscriptions