LK CC

Developer

Loren Klingman

3rd Party (Free)

413 downloads (last 90 days)

Creative Commons Attribution Share Alike Download v1.1.5

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Extension, Plugin

Tags

This addon interfaces with the constant contact API to allow website visitors to sign up for your newsletters by entering their email address and selecting the lists that they wish to sign up for. It does not interface with current users in your EE memberbase.

LK Constant Contact Plugin for ExpressionEngine

This addon interfaces with the constant contact API to allow website visitors to sign up for your newsletters by entering their email address and selecting the lists that they wish to sign up for.  It does not interface with current users in your EE memberbase.

If your multiple sites all use the same Constant Contact account this will work with multi-site manager.

If you would like to add features to this addon, feel free to fork the git-repository and/or work with me on it.  I unfortunately have a full time job and won’t be able to add features unless they are required for one of my projects, but I will do my best to provide support to those using the addon and help anyone who wants to add more features to it.

Extension Settings
=====================================================
* Constant Contact Username: Your username
* Constant Contact Password: Your password
* Constant Contact API Key:
* Get your API Key Here: http://community.constantcontact.com/t5/Documentation/API-Keys/ba-p/25015
* Login, Click Request a New API Key
* Fill in the form:
* Multiple Accounts?  Select Yes if you will use this key on multiple websites otherwise select no.
* Application Description - Website email signup form
* You may leave the rest of the form blank.
* Once you recieve a key, copy the key into the API Key setting.
* Save your settings.
* Click settings again.  If everything is working, your lists should now be listed in the List IDs multiselect.
* The number before the list name is the ID which will be used in the tags.

Plugin Basic Usage
=====================================================
Tag Usage
———————————
* Default_list is the lists that should be checked by default, if omitted no lists will be checked by default
* Show_list is the lists to be shown, if omitted all lists will be shown.  The lists will be shown in the order the ids are listed.
* (You can find your list IDs in the extension settings.)
* Default_list and Show_list both support list ids separated by pipes.  They do not support the use of “not”.
* Email and at least one list selection will be required, the name fields are optional.  Error message strings are defined in the language file.
* First and last name fields can be omitted if desired.  This script does not currently support any other Constant Contact fields.

    {exp:lk_cc:subscribe default_list="3" show_list="2|5|6|3|4" parse="inward"}
        {if "{success2}" == "false"}
            <form action="{path="site/subscribe"}" method="post">
                <div class="clearboth">Please confirm your subscription.</div>
                <div class="clearboth error">{error_message}</div>
                <div class="float-left">
                    <p><sup>*</sup>Your Email:<br /><input type="text" name="email" value="{email}" /></p>
                    <p>First Name:<br /> <input type="text" name="first_name" value="{first_name}" /></p>
                    <p>Last Name:<br /> <input type="text" name="last_name" value="{last_name}" /></p>
                    <p>Custom Field 1:<br /> <input type="text" name="custom_field_1" value="{custom_field_1}" size="30" /></p>
                    <p>State Code:<br /> {exp:reegion_select:states selected="{state_code}" name="state_code" type="alpha2"}</p>
                </div>
                <div class="float-left"><ul class="none">
                    <li>Subscribe to:</li>
                    {lists}
                        <li id="chk_{count}">
                            <input id="chk_{count}" type="checkbox" value="{value}" name="lists[]" {checked} /> 
                            <label for="chk_{count}">{name}</label>
                        </li>
                    {/lists}
                </ul></div>
                <div class="clearboth">
                    <p><input type="submit" name="submit" value="Submit" class="contact" /></p></div>
            </form>
        {if:else}
            <p>Thanks for subscribing!  Please check your email to confirm your subscription.</p>
        {/if}
    {/exp:lk_cc:subscribe}


Small form with just email:
——————————————————————
This form should submit to the page with the plugin tag code and can be used to embed an email subscribe form into all your website pages without calling the plugin until it is needed.
* Set the “confirm” hidden field so that “success” will not be set allowing the user to confirm, subscribe to additional lists etc.
* If you set default lists, when the user clicks submit they will be added to your default email lists so even if they don’t submit the confirmation form, they have still be subscribed.
* Submitting the confirmation will allow them edit their information.


	<form action="{path="site/subscribe"}" target="_blank" method="post">
		<fieldset>
			<input type="hidden" name="confirm" value="confirm" />
			<label for="subscribe_email" class="screen-reader-text">Email Address</label> 
			<input type="text" value="" id="subscribe_email" name="email" />
			<input type="image" alt="Subscribe" src="/design/submit-button.png" value="Go" name="go" id="subscribe_image" />
		</fieldset>
	</form>

Creating a Campaign:
——————————————————————
NEW (v 1.1): You can use the plugin to create a campaign on your constant contact account.  See the readme file in the download for instructions.

Download LK CC

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.1.5 Jun 12, 2013

LK CC Links

This entry was created August 9, 2012, 11:58 am.
This entry was last updated February 23, 2015, 3:57 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

1 Review:

petenice 12.31.14

petenice
Rating - {addon_rating_average}

Worked beautifully. Nicely documented. Thank you!