This plugin allows you to set default message copy in the, "Send a Message" and "Send a Webpage" screens. This copy can be loaded with dummy/placeholder text to be used as a starting point for a new mailing list message.
This copy can reside outside of the program at a different file location or URL, or can be inputted directly into the plugin itself.
This plugin can be installed during a Dada Mail install/upgrade, using the included installer that comes with Dada Mail. The below installation instructions go through how to install the plugin manually.
The, default_mass_mailing_messages.cgi plugin will be located in your, dada/plugins diretory. Change the script to, 755
Now, edit your .dada_config file, so that it shows the plugin in the left-hand menu, under the, Plugins heading:
First, see if the following lines are present in your .dada_config file:
# start cut for list control panel menu
=cut
=cut
# end cut for list control panel menu
If they are, remove them.
Then, find these lines:
# {
# -Title => 'Default Mass Mailing Messages',
# -Title_URL => $PLUGIN_URL."/default_mass_mailing_messages.cgi",
# -Function => 'default_mass_mailing_messages',
# -Activated => 1,
# },
Uncomment the lines, by taking off the, "#"'s:
{
-Title => 'Default Mass Mailing Messages',
-Title_URL => $PLUGIN_URL."/default_mass_mailing_messages.cgi",
-Function => 'default_mass_mailing_messages',
-Activated => 1,
},
Save your .dada_config file.
Setting default text/copy for the HTML message will work when using one of the WYSIWYG editors that Dada Mail supports. Some guidelines:
Template Tags
Be careful with using Dada Mail-style template tags, like this,
<!-- tmpl_var im_a_tag -->
Especially within links. These tags will mostly be broken. Try instead to use old-style Dada Mail tags for the time being:
[im_a_tag]
Full HTML documents
Full HTML documents, like so:
<html>
<head>
<title></title>
</head>
<body>
I'm the body!
</body>
</html>
May have everything, except the content in the body removed by CKeditor/TinyMCE. That may mean that any styles that are saved in the head of the document will be lost.
Copyright (c) 1999 - 2014
Justin Simoni
http://justinsimoni.com
All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.