I’m trying to use the Multiple Newsletters Extension (v.1.1) to allow the client to send HTML formatted newsletters. I’ve turned off both “Automatically Convert High ASCII Text to Entities” and “Automatically turn URLs and email addresses into links?” but on the “communicate” page I still end up with this:
This is a <a href="http://the_site_url.com/index.php?URL=http://the_target_url" title="test">test</a>
Am I missing something? The HTML looks correct in the entry itself. I’m using 1.6.3 Build: 20080421
Edit: Oh that figures, it looks correct here. I’ll add a screenshot.
Should be:
This is a <a href="http://the_target_url.com" title="test">test</a>
The links look like they’re being encoded as if they were redirects for some reason.
In “ext.multiple_newsletters.php” around line nummber 192 add this lineNOTE that$newsletter = str_replace("http://yourdomain.com/?URL=http % 3 A % 2 F % 2 F", "http://", $newsletter);
is written with no whitespace. The forum is encoding it to html. This will fix the URL problem. Stay warm -Michaelhttp % 3 A % 2 F % 2 F
In “ext.multiple_newsletters.php” around line nummber 192 add this line$newsletter = str_replace("http://yourdomain.com/?URL=http % 3 A % 2 F % 2 F", "http://", $newsletter);
Thanks!
I had to modify it to include the index.php page I still have in there and made a variant for a secure page, but it does the trick! Thanks for pointing out to remove the spaces.
$newsletter = str_replace("http://thediaperbank.org/index.php?URL=http % 3 A % 2 F % 2 F", "http://", $newsletter);
$newsletter = str_replace("http://thediaperbank.org/index.php?URL=https % 3 A % 2 F % 2 F ", "https://", $newsletter);
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.