ekmTags: [ekm:newsletter]
This tag outputs the ekmResponse newsletter signup box.
Once you have added the ekm:newsletter tag to your HTML you will need to enable it in your shop administration area. Please follow the instructions below.
- Log into 'Your Account' within ekmPowershop.
- Go to 'Customers' >> 'Email Marketing' and enter your ekmResponse Username and Password.
- Now you have linked your shop to your ekmResponse account you can specify which Contact Group you want new signups to be entered into.
- Finally, click the 'Enable Signup Form' button to activate the Newsletter signup form on your site.
| Full Tag
|
|
[ekm:newsletter]
style='1';
[/ekm:newsletter]
|
| Basic Usage Example Output |
| Style 1 | Style 3 |  |  | | | | Style 2 |  | | | | Style 4 |  | | |
|
| Full Tag
|
[ekm:newsletter]
' Style to use
style='1';
' Output Format
output_start='
<!-- newsletter sign up -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background:#003399;"><div style="color:#ffffff;
margin:5px; font-weight: bold;">Newsletter Signup</div></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="7" style="background:#003399;">
<img src="/ekmps/designs/templates/30000/images/spacer.gif"
width="4" height="4">
</td>
<td width="100%" style="background:#ffffff;">
<table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td> ';
output_item='<div class="input_row frmhide">[first_name]</div>
<div class="input_row frmhide">[last_name]</div>
<div class="input_row">[email]</div>
<div class="input_sub">[signup_button]</div>';
output_end='</td>
</tr>
</table></td>
<td width="7" style="background:#003399;">
<img src="/ekmps/designs/templates/30000/images/spacer.gif"
width="4" height="4"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="background:#003399;" height="1">
<img src="/ekmps/designs/templates/30000/images/spacer.gif"
width="4" height="4">
</td>
</tr>
</table>
<!-- End newsletter signup -->';
' Adding custom attributes to the form tags
textbox_attribute='maxlength="20"';
firstname_textbox_attribute='value="First Name" size="20"';
lastname_textbox_attribute='value="Last Name" size="20"';
email_textbox_attribute='value="Email Address" size="20"';
signupbutton_attribute='style="margin-bottom: 5px;"';
' Image for submission button
signupbutton_image=;
[/ekm:newsletter]
|
| Full Usage Example Output
|
|
| Allows you to add markup to the beginning of the form.
|
| Possible Values
|
| user defined
|
| You can use any HTML or plain text code.
|
| Allows define the exact lay out of the form
Please note: If you use this Parameters you need to include all the tags, not doing do so could stop the form from working. If you do not wish one of the tags to be visable you can use html to hide it. e.g. [first_name]
|
| Possible Values
|
| user defined
|
You can use any HTML or plain text code. You can use the following tags to create the output_item...
[first_name]
Outputs the first name input text box
[last_name]
Outputs the last name input text box
[email]
Outputs the email input text box
[signup_button]
Outputs the forms signup button
|
| Allows you to add markup to the end of the form.
|
| Possible Values
|
| user defined
|
You can use any HTML or plain text code.
|
| Allows you to add any standard html tag attriube to all the text boxes the form uses.
|
| Possible Values
|
| user defined
|
Any Html textbox tag attribute
|
| firstname_textbox_attribute
|
| Allows you to add any standard html tag attriube to the first name text boxes. This will override the textbox_attribute for this textbox.
|
| Possible Values
|
| user defined
|
Any Html textbox tag attribute
|
| lastname_textbox_attribute
|
| Allows you to add any standard html tag attriube to the last name text boxes. This will override the textbox_attribute for this textbox.
|
| Possible Values
|
| user defined
|
Any Html textbox tag attribute
|
| Allows you to add any standard html tag attriube to the email name text boxes. This will override the textbox_attribute for this textbox.
|
| Possible Values
|
| user defined
|
Any Html textbox tag attribute
|
| Allows you to add any standard html tag attriube to the signup button.
|
| Possible Values
|
| user defined
|
Any Html textbox tag attribute
|
| Allows you to replace the sign up button with an image of your choice.
|
| Possible Values
|
| user defined
|
File name for an image with its path
|
« Back