• photography

  • web + design

  • photo + video

Photography is our passion. Great design inspires us. Have a look around.

Willow Light Studio is a creative digital studio located in Westport Island, Maine. Our focus is on creating websites and producing content that best represent our clients. We believe that high quality media and a lightweight web design to showcase the content is the formula to a successful online presence, and beyond.

~ the latest ~

ExpressionEngine phpList addon released!

We are excited to bring this simple yet effective free addon to the ExpressionEngine community. Creating AJAX powered sign up forms for phpList is now a breeze and the addon will generate both the form as well as the JavaScript to handle it.

You can get the addon right here on GitHub.

phpList addon for ExpressionEngine 3

This addon makes it easy to create AJAX phpList signup forms. Two tags are used: {exp:willow_phplist:form} to generate the form and {exp:willow_phplist:script} to generate the JavaScript for the sign up. Requirements: ExpressionEngine 3 and jQuery.

Installing

Just copy the willow_phplist folder to your /user/addons folder and activate it in the CPanel.

Creating the form

{exp:willow_phplist:form}
    <input type="email" name="email">
    <input type="submit" value="Subscribe!">
{/exp:willow_phplist:form}

The only required input is one named email. If your list has more attributes, all you need to do is add the input with the same name value.

Parameters

  • subscribe_page_id Sets up the form to use the chosen subscribe page created on phpList. Defaults to 1.
  • subscribe_page_url This is the base directory of your phplist installation, most commonly used are /list or /lists. Defaults to /lists/
  • list_id The list ID the visitor will be subscribing to.
  • form_id Set the form id for styling (do not include #). Defaults to phplist.

Generating the JavaScript for the form

{exp:willow_phplist:script}

Parameters

  • form_id Must match the form ID used with {exp:willow_phplist:form}. Defaults to phplist.
  • success_message Use this to define the copy displayed when the visitor successfully signs up.
  • failure_message If something goes wrong, this is displayed to let the user know the subscription was not successful.

Styling the form

Use the form’s id to style it with CSS (default is phplist).

Example

#phplist input.email { padding:5px; }
#phplist-success { color:green; }
#phplist-failure { color:red; }

View All News >