Code Monkey home page Code Monkey logo

mailchimpconnector's Introduction

MailChimpConnector

Subscribe / Unsbscribe Forms for MailChimp in DNN made easy. This template based module allows you letting your site visitors subscribe / unsubscribe from and to mailing list on MailChimp.

All you need is a MailChimp account, an API key for that account and at least one list.

The forms rendered to the client are template / tokens based. That gives you full flexibility in setting up your subscription forms.

You can reference all merge fields from your maling list in the templates. For instance, if you want to know if your subscribers code in C# or VB you would add a merge field in mailChimp called "Preferred Coding Language", that would then get a merge name like 'PREFCOLA' and from within the subscriptin form template you would referene that field like so:

<div class="dnnFormItem">
  [MERGE:PREFCOLA:LABEL]
  [MERGE:PREFCOLA:CONTROL]
  [MERGE:PREFCOLA:REQUIRED]
</div>

Since you have setup the merge field in MailChimp as a select field, this would then render as a dropdownlist in your module's form.

Now there is another option too. You can also make the form dead simple and only display a message and a subscribe button an let the module still sync the user's profile data to MailChimp. You would then create a custom profile property in DNN and call it 'PREFCOLA'. So what the module does, is if there is no form field for a given merge field in MailChimp it will lookup if there is a matching profile property in the user's profile.

Make sure then though that the merge field is not required or, make sure that each of your users have filled in the property field in DNN!

Have a look the two templates that are being delivered with the module. That should give you an idea what can be done.

mailchimpconnector's People

Contributors

peppertree avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.