定制 webdna/craft-email-content-editor 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webdna/craft-email-content-editor

最新稳定版本:2.1.2

Composer 安装命令:

composer require webdna/craft-email-content-editor

包简介

A Craft CMS plugin to turn entries into emails

README 文档

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

统计信息

  • 总下载量: 121
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-02-29