No Newsletter Archive
2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: December 18, 2013 (RSS)
By Toledoh - December 15, 2013
Hi Guys,
A few of my clients do not use the newsletter archive function - they don't want a list of previous emails being available. However, I've now noticed that if th email is received in plain text, they get a message to view the archive. I think this is from newsletter.php
function nlb_sendMessage_textContent($newsletterSettings) {
static $text;
if (!isset($text)) { // load (and cache) text
$text = t("To view this message, please use an HTML compatible email viewer");
// we can't use this here as it doesn't make sense for newsletter confirmation messages
if ($newsletterSettings['archive_url']) {
$text .= sprintf( t("\nor click here to view the newsletter archive:\n %s"), $newsletterSettings['archive_url']);
}
}
return $text;
Can I can comment this out and not cause any flow on issues?
Tim (toledoh.com.au)
By Daryl - December 18, 2013
Hi Tim,
Yes, you can comment out that part so that the link going to the newsletter archive will not show in the plain text emails. And I don't think commenting out the if condition block inside the nlb_sendMessage_textContent() will break anything but make a back up just in case.
Cheers,
PHP Programmer - interactivetools.com