bluethinkinc/magento-2-newsletter-popup

新闻订阅弹出窗口

1.0.0 2023-02-03 13:20 UTC

This package is auto-updated.

Last update: 2024-09-30 02:10:43 UTC


README

``bluethinkinc/module-newsletterpopup``

主要功能

新闻订阅弹出窗口显示在页面上

安装

* = 在生产环境中请使用 --keep-generated 选项

类型 1: 压缩文件

  • 将压缩文件解压到 app/code/Bluethinkinc
  • 通过运行 php bin/magento module:enable Bluethinkinc_NewsletterPopup 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新
  • 通过运行 php bin/magento setup:di:compile 编译
  • 通过运行 php bin/magento setup:static-content:deploy 部署静态内容
  • 通过运行 php bin/magento cache:flush 清除缓存

类型 2: Composer

  • 将模块添加到composer仓库中,例如
    • 私有仓库 repo.magento.com
    • 公共仓库 packagist.org
    • 作为vcs的公共github仓库
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将composer仓库添加到配置中
  • 通过运行 composer require bluethinkinc/module-newsletterpopup 安装模块
  • 通过运行 php bin/magento module:enable Bluethinkinc_NewsletterPopup 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

在管理员面板中,您需要进入 **存储 > 配置 > Bluethink > 新闻订阅弹出窗口** 启用此模块。有一些选项可以启用/禁用顶部导航上的链接、弹出内容中的HTML、弹出窗口中的图片显示、弹出窗口的高度、背景颜色、新闻模块的文本颜色。有选项显示新闻订阅弹出窗口将在哪些页面上显示,以及选项在页面加载后何时显示

'Newsletter Configuration'

'Newsletter Configuration'

'Newsletter Configuration'

'Newsletter Configuration'

规格

在前端,您可以在从管理员面板完成设置后看到新闻订阅弹出窗口。

'Newsletter Popup'