The template looks good in preview and the NMS message gets sent out without any errors but when I check the emails sent out they don't look like the template at all ... it's just a normal email ... no images or styling.
I've seen a lot of discussion on the board about NMS not playing nicely with templates but I just wanted to check one last time to see if anybody has a fix for it ... I'm really close to just using a third-party newsletter script. (btw, any suggestions for a good newsletter script with bulk import?)
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title>{sitename} - {title}</title>
{metadata}
{stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
</head>
</__body>
<div id="siteLock">
<div id="header">
<h2><a href="index.html" title="Back to Home">llhargrove.com</a></h2>
<ul>
<li><a href="http://www.llhargrove.com" target="_blank">Home</a></li>
<li><a href="http://llhdirect.com/hhh/index.php?page=pray" target="_blank">Prayer Needs</a></li>
<li><a href="http://llhdirect.com/hhh/index.php?page=press_kit" target="_blank" class="style1">Press Kit</a></li>
<li><a href="http://llhdirect.com/hhh/index.php?page=next-newsletter" target="_blank" class="style1">Next Issue</a></li>
</ul>
</div>
<div id="block">
<div id="textos">
<h1>Newsletter <span> JAN. 2007</span></h1>
<p>{$message_text}</p>
</div>
</div>
</div>
<__body>
</__html>
Code: Select all
body {
margin: 0;
padding: 0px;
background-color:#000000;
background-image: url(images/swirl1.gif);
_text-align: center;
}
p {
position: relative;
width: auto;
float: left;
margin: 3px 10px;
padding: 4px;
display: block;
text-align: justify;
line-height: 20px;
text-indent: 10px;
}
div#siteLock {
background: transparent;
margin: -5px auto 5px auto;
text-align: center;
padding: 0;
float: none;
position: relative;
height: auto;
width: 592px;
clear: all;
}
div {
padding: 10px;
margin: 0 auto 0 auto;
text-align: justify;
color: #333;
font-family: arial, times, Times, georgia, serif;
font-size: 12px;
height: auto;
background-color:#E5EBDF;
}
div#block {
width: auto;
font-size: 12px;
height: auto;
position: relative;
float: left;
background-color:#E5EBDF;
}
div#textos {
padding: 8px;
margin: 0 auto 0 auto;
text-align: justify;
color: #333;
font-family: verdana;
font-size: 12px;
height: auto;
float: left;
position: static;
line-height: 20px;
background-color:#FFFFFF;
}
div#header {
position: static;
width: auto;
/* IE Instruction */
_width: 597px;
padding: 0;
color:#FFFFFF;
background-color:#323232;
}
/* SITE TITLE */
h2, h2 a {
font-size: 19px;
text-transform: uppercase;
letter-spacing: 16px;
text-decoration: none;
color: white;
text-align: center;
font-family: times;
padding: 32px;
margin: 0;
text-shadow: 0 3px 1px #000;
}
/* ARTICLE TITLES */
h1 {
color:#464646;
font-family: Times;
letter-spacing: -2px;
font-size: 40px;
line-height: 35px;
padding: 2px;
margin: 0;
font-weight: 500;
margin-left: 14px;
margin-top: 10px;
max-width: 245px;
/* IE Instruction */
_width: 245px;
text-align: left;
font-weight: normal;
text-shadow: 0 1px 5px #ADADAD;
border-bottom: 1px solid #ADADAD;
}
h1 span {
color:#538A1F;
font-size: 12px;
font-family: arial;
font-variant: small-caps;
letter-spacing: 2px;
/* IE Instruction */
_letter-spacing: -1px;
_margin-left: -3px;
text-align: right;
text-shadow: none;
}
/* MENU */
/* LISTS */
.style1 {
color: #996600
}
ul {
width: auto;
/* IE Instruction */
_width: 597px;
margin: 0;
padding: 6px;
position: relative;
background-color:#CC9900;
display: block;
/* MENU FONT */
font-family: Helvetica, Geneva, sans-serif;
font-weight: 300;
font-size: 12px;
color:#FFFFFF;
}
li {
display: inline;
margin: 0;
list-style: none;
padding: 6px;
}
li a:link, li a:visited
{
padding: 10px 6px;
color:#CBF3A6;
text-decoration: none;
background: transparent;
}
li a:link:hover, li a:visited:hover
{
color: white;
}
li:hover, li.over {
background-color: #42691E;
color: #FFFFFF;
text-shadow: 0 1px 2px #26440A;
}
div#textos a:link, div#textos a:visited
{
color:#444;
border-bottom: 1px dotted #5E952C;
background-color: white;
cursor: move;
text-decoration: none;
padding: 2px;
}
div#textos a:link:hover
{
color:#000;
background-color:#E3F7DA;
text-decoration: none;
padding: 2px;
}
/* IMAGES */
img.left {
float: left;
position: relative;
margin: 5px 5px 0 0;
padding: 3px;
background-color:#FEFFF3;
border: 1px solid #DFF5D7;
}
img.right {
float: right;
position: relative;
margin: 5px 0 0 5px;
padding: 3px;
background-color:#FEFFF3;
border: 1px solid #A6DF8F;
}
img:hover, img.over {
background-color:#C6EDB6;
border: 1px solid #7ACC59;
}