selay/silverstripe-constantcontact
Composer 安装命令:
composer require selay/silverstripe-constantcontact
包简介
A simple ajax-based Constant Contact signup widget/module for Silverstripe -> fully customizable in CMS Settings.
关键字:
README 文档
README
A simple ajax-based Constant Contact signup widget/module for Silverstripe -> fully customizable in CMS Settings.
Requirements
- SilverStripe 3.1.0 or + (will work with 3.0 if you change one word: private to public $db in SS_ConstantContact.php)
- PHP PHP 5.3+ with cURL extension for API
- Silverstripe Multivaluefield.
Features
- Easy to setup under CMS settings by setting error/success messages/API details and input field classes
- Uses Constant Contact PHP SDK for v2 API to add/update contact lists. Full SDK is provided for your own extension.
- No need to configure at the config file level. Just configure in CMS.
- Supports contact submission to single and multile lists. Options allow setting the submission to a single, selected, or all lists. All available lists are pulled via API, and shown in CMS. If you select only one list, the lists checkbox will not be shown in the front-end. If more than one, they will be displayed as checkboxes. If left empty, all available lists will be listed as checkboxes so that customers can choose which list they want to sign up.
- Uses ajax to submit and return the error/success messages which can be customized in CMS.
- Provides template to customize with javascript and css files in the project folder
See composer.json for exact set of dependencies.
Installation
- Download the module https://github.com/selay/silverstripe-constantcontact
- Extract the downloaded archive into your site root so that the destination folder is called contactcontact, opening the extracted folder should contain _config.php in the root along with other files/folders
- Run dev/build?flush=all to rebuild the database
- Go to /admin/settings and click Constant Contact Tab to set up API details and customization. You can also set input class names and and submit button text here.
- Use <% include SS_ConstantContactForm %> anywhere in your site template to include the widget. Run /?flush=all to let it find the template location.
- Edit the template constantcontact/templates/SS_ConstantContactForm.ss to adapt to your design. CSS and javascript files can be edited if needed for customization.
- Enjoy
If you prefer you may also install using composer:
composer require /selay/silverstripe-constantcontact
Usage
- Please see Installation info above.
- Front end:

- Back end:
In case of any problem, let me know and I will try to help you at my earliest convenience :)
Reporting an issue
Please consider these obvious stuff faciliate the issue resolution.
- Ensure you specify what version of SilverStripe you are using i.e. 3.0.5, 3.1-master etc.
- Include any JavaScript or PHP errors you receive.
- Include your own code if you have modified.
Translations
It is not language dependent, and all texts can be custmized under Settings.
Donation
This module is available free of charge. I am constantly looking for ways to make more free stuff for you.
if you have ended up here searching for free stuff, you know and appreciate the value of time and energy, right?
You can contriute a small amount you afford to buy me a coffee as encouragement and appreciation if you like and only if you afford it.
Enjoy this module and contact me if you need any help. I will do my best to get back to you within 12-14 hours.
selay/silverstripe-constantcontact 适用场景与选型建议
selay/silverstripe-constantcontact 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 21 次下载、GitHub Stars 达 0, 最近一次更新时间为 2014 年 10 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「module」 「silverstripe」 「widget」 「signup to newsletter」 「constant-contact」 「newsletter-sign-up」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 selay/silverstripe-constantcontact 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 selay/silverstripe-constantcontact 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 selay/silverstripe-constantcontact 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
Analytics chooser extensions for site settings.
Add a weather widget to Flarum
CitaNZ's SilverStripe picture object and field for SilverStripe 4
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-10-24