2017 © Pedro Peláez
 

silverstripe-module silverstripe-constantcontact

A simple ajax-based Constant Contact signup widget/module for Silverstripe -> fully customizable in CMS Settings.

image

selay/silverstripe-constantcontact

A simple ajax-based Constant Contact signup widget/module for Silverstripe -> fully customizable in CMS Settings.

  • Thursday, January 15, 2015
  • by selay
  • Repository
  • 1 Watchers
  • 1 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 4 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Constant Contact Module/Widget for Silverstripe

A simple ajax-based Constant Contact signup widget/module for Silverstripe -> fully customizable in CMS Settings., (*1)

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., (*2)

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 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:, (*3)

composer require /selay/silverstripe-constantcontact

Usage

  • Please see Installation info above.
  • Front end: alt tag alt tag alt tag
  • Back end: alt tag 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., (*4)

Translations

It is not language dependent, and all texts can be custmized under Settings., (*5)

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., (*6)

alt tag, (*7)

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., (*8)

The Versions

15/01 2015

dev-master

9999999-dev

A simple ajax-based Constant Contact signup widget/module for Silverstripe -> fully customizable in CMS Settings.

  Sources   Download

BSD-3-Clause

The Requires

 

by Elmin

module widget silverstripe signup to newsletter constant-contact newsletter-sign-up newsletter-module-widget-for-constant-contact