=== iContact Widget === Tags: icontact, widget, newsletter, form, signup, newsletter widget, email newsletter form, newsletter form, newsletter signup, email widget, email marketing, newsletter, form, signup Requires at least: 2.8 Tested up to: 2.9.2 Stable tag: trunk Contributors: katzwebdesign Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=zackkatz%40gmail%2ecom&item_name=iContact%20Newsletter%20Widget&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8 Add an iContact signup form to your sidebar or content and easily update how the form looks. == Description ==

Simple iContact Signup Form Installation on Your Blog

__Note: Plugin requires an iContact account.__ Add the iContact 'Automatic Sign-up Form' to your sidebar with this widget. Simply paste the code from the form you created in iContact into this widget. Your form will be converted into HTML (instead of Javascript, which takes more time to load). Change the width of your form, the submit button text, and more! (Check out the screenshot.) Includes __shortcode support__ -- add an iContact form in any page or post by typing `[iContact]` inside the page or post content. == Screenshots == 1. How the widget appears in the Widgets panel == Frequently Asked Questions == = Does this plugin require an iContact account? = Yes, it requires at least a free iContact account. __Try iContact free for 15 days.__ iContact is a leader in email newsletters and surveys. Their toolset is cost effective, and full-featured compared to their competitors. If you haven't chosen a email newsletter company, you should try iContact. = How do I use the new `add_filters()` functionality? (Added 1.1) = If you want to change some code in the widget, you can use the WordPress `add_filter()` function to achieve this. You can add code to your theme's `functions.php` file that will modify the widget or shortcode output. Here's an example:
function my_example_function($widget) { 
	// The $widget variable is the output of the widget
	// This will replace 'this word' with 'that word' in the widget output.
	$widget = str_replace('this word', 'that word', $widget);
	// Make sure to return the $widget variable, or it won't work!
	return $widget;
}
add_filter('icontact_signup_form_code', 'my_example_function');
= What is the plugin license? = * This plugin is released under a GPL license. == Changelog == = 1.1 = * If you want to modify widget or shortcode output, there's now an `add_filters` method to do so. = 1.0.9.1 = * Updated with the GPL license = 1.0.9 = * Should fix "The iContact file was not accessible for some reason." issue that was experienced by users with certain hosting configurations = 1.0.8 = * Fixed incompatibility for servers running PHP4 by adding `str_ireplace()` function definition = 1.0.7 = * Updated form to compensate for changed iContact javascript formatting (if your form shows `");` at the end of it, this will fix it) * Updated widget so that it will not load for users < WordPress 2.8, preventing errors * Improved wording for widget's code override option = 1.0.6 = * Added support for `curl` for servers that don't support `file_get_contents()` * Fixed issue where you had to save widget two times for it to update = 1.0.5 = * Added support for multiple widgets, and multiple instances of the same widget on a page * Improved iContact code validation by adding closing slashes to s * Fixed issue with multiple instances of same form preventing javascript validation * Added option to not display form in sidebar, if only using the [icontact id=#] shortcode * Changed shortcode structure to `[icontact id=#]`. Once configured, widget now provides a reference ID * Fixed shortcode bug that had inserted form before content, instead of where inserted in content. * Improved code to save update form on the first save = 1.0.4 = * Added `name=clientid` formatting cleanup = 1.0.3 = * Added missing closing tag to signup form. * Added widget description for the wp-admin Widgets page. = 1.0.2 = * Improved error handling, and prevented form from being shown until it works properly. * Added settings: Edit HTML capability, Change input width, Change Submit input text, Change form width = 1.0.1 = * Added PHP `file_get_content()` error handling * Added HTTPS form option = 1.0 = * Launched widget