On the website
http://desertmessenger.myphotos.cc/modx/
I have the following inserted into the page using the html editor.
I would prefer to be able to place it on a page using a snippet.
Can someone explain how to do this step by step?
The phplist is active and accepting subscriptions. It will send out emails to subscribers when I test email templates. So if you test it remember to unsubscribe unless you want to get a test template from me.
--------------
<!-- newsletter copy script below here -->
<table border="0">
<tbody>
<tr>
<td style="text-align:center; font-size:11px;" width="140">Bicycle Rider Announcement Newsletter
<!-- newsletter subscribe below here -->
<script type="text/javascript">// <![CDATA[
var fieldstocheck = new Array();
fieldnames = new Array();
function checkform() {
for (i=0;i<fieldstocheck.length;i++) {
if (eval("document.subscribeform.elements[’"+fieldstocheck[i]+"’].value") == "") {
alert("Please enter your "+fieldnames[i]);
eval("document.subscribeform.elements[’"+fieldstocheck[i]+"’].focus()");
return false;
}
}
return true;
}
function addFieldToCheck(value,name) {
fieldstocheck[fieldstocheck.length] = value;
fieldnames[fieldnames.length] = name;
}
// ]]></script>
<form action="
http://desertmessenger.myphotos.cc/lists/?p=subscribe" method="post">
Email:<input name="email" type="text" />
<script type="text/javascript">// <![CDATA[
addFieldToCheck("email");
// ]]></script>
<input name="list[1]" type="hidden" value="signup" />
<input onclick="return checkform();" name="subscribe" type="submit" value="Subscribe" />
</form>
<!-- newsletter subscribe ends here -->
</td>
</tr>
</tbody>
</table>
<!-- newsletter copy script above here -->
--------------