This plugin is wonderful, but there are some things that should be fixed/reviewed to be perfect, one of them is disabling CKEditor for templating the header and footer, because the editor closes automatically all <table> and <tr> between header and footer, therefore preventing from creating a container for the newsletter content.
The quick dirt solution that works is to disable CkEditor for these.
Go to plugins/mld-newsletter.php
Comment out this
The quick dirt solution that works is to disable CkEditor for these.
Go to plugins/mld-newsletter.php
Comment out this
Code:
<!--<script type="text/javascript" src="template/js/ckeditor/ckeditor.js"></script>
<script type="text/javascript">
//<![CDATA[
var editor = CKEDITOR.replace( 'settings[theader]', {
skin : 'getsimple',
forcePasteAsPlainText : true,
language : '<?php echo $EDLANG; ?>',
defaultLanguage : '<?php echo $EDLANG; ?>',
entities : true,
uiColor : '#FFFFFF',
height: '250px',
baseHref : '<?php echo $SITEURL; ?>',
toolbar : [['Bold','Italic','Underline','JustifyLeft','JustifyCenter','JustifyRight','Table','TextColor','Link',
'Unlink','Image','Font','FontSize','Source']],
filebrowserBrowseUrl : 'filebrowser.php?type=all',
filebrowserImageBrowseUrl : 'filebrowser.php?type=images',
filebrowserWindowWidth : '730',
filebrowserWindowHeight : '500',
extraPlugins : 'htmlwriter'
});
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
var editor = CKEDITOR.replace( 'settings[tfooter]', {
skin : 'getsimple',
forcePasteAsPlainText : true,
language : '<?php echo $EDLANG; ?>',
defaultLanguage : '<?php echo $EDLANG; ?>',
entities : true,
uiColor : '#FFFFFF',
height: '250px',
baseHref : '<?php echo $SITEURL; ?>',
toolbar : [['Bold','Italic','Underline','JustifyLeft','JustifyCenter','JustifyRight','Table','TextColor','Link',
'Unlink','Image','Font','FontSize','Source']],
filebrowserBrowseUrl : 'filebrowser.php?type=all',
filebrowserImageBrowseUrl : 'filebrowser.php?type=images',
filebrowserWindowWidth : '730',
filebrowserWindowHeight : '500',
extraPlugins : 'htmlwriter'
});
//]]>-->