webdna/craft-email-content-editor

There is no license information available for the latest version (1.0.15) of this package.

A Craft CMS plugin to turn entries into emails

1.0.15 2024-03-07 11:03 UTC

This package is auto-updated.

Last update: 2024-05-07 11:24:22 UTC


README

Feed Me icon

Email Content Editor

A Craft CMS plugin to turn entries into emails.

The plugin works by linking system messages (and commerce emails if the site has them) to entries. When these emails are sent, the content is overridden by the content and template of the entry. The plugin also allows the ability to add new system messages, although how they are triggered must be set up in another plugin/module.

To set up an email-entry pairing create an Email Settings field type and add it to an entry type. When editing the entry, the field provides the options to select a system message (or commerce email), set the subject, and create a json to define any custom variables that should be included for testing. If commerce is installed, it is also possible to choose an order to be injected for testing purposes.

The plugin also adds a new action button to these emails to send a test email to the current logged in user. As the entry is still just a craft entry, it can still be live previewed or visited at a url provided these have been configured.

Requirements

This plugin requires Craft CMS 4.4.0 or later, Craft Commerce 4.0 or later and PHP 8.0.2 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Email Entries”. Then press “Install”.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require webdna/craft-email-content-editor

# tell Craft to install the plugin
./craft plugin/install email-content-editor