 |
ListMessenger Examples |
|
Here are four examples that you can use to put a form on your website using ListMessenger End-User Script v1.1.4.
IMPORTANT: This script no longer use Group Names to assign to members to, it now uses Group ID's. To find out what a Group's ID is, please log into ListMessenger and click "Manage Groups" and in all select boxes you will see "Group Name (ID: X)". Where X is, will be that groups corresponding ID value.
The listmessenger.php file needs to be in the same location as your website and all settings in that file must be correct before it will be usable. Please refer to the contents of that file more more information regarding it's use. View Source
Example Source: Here is the basic source code elements.
<form action="listmessenger.php" method="post">
<table cellspacing="1" cellpadding="1" border="0">
<tr>
<td>E-mail Address: </td>
<td><input type="text" name="email_address" value="" /></td>
</tr>
<tr>
<td>Subscribe: <input type="radio" name="action" value="subscribe" /></td>
<td>UnSubscribe: <input type="radio" name="action" value="unsubscribe" /></td>
</tr>
<tr>
<td colspan="2" align="right">
<input type="hidden" name="group_ids[]" value="ENTER_GROUP_ID" />
<input type="submit" name="submit" value="Proceed" />
</td>
</tr>
</table>
</form>
Example One: Basic subscribe/unsubscribe without the name and a static group.
Example Two: Basic subscribe/unsubscribe with the name and select box.
Example Three: Subscribe/unsubscribe with name and multiple select-box.
Example Four: Subscribe/unsubscribe with name and check-boxes.
|
|
|
|