Page 1 of 1
NMS
Posted: Wed Oct 17, 2007 6:12 pm
by stone
When I would send a Newsletter, an I make None HTML Message than comes an Form Error. If i make none text message everything is ok but the mail comes with the html code why is that so and how could i delete this problem
Sorry my English is not very good but I hope you understand
Re: NMS
Posted: Wed Oct 17, 2007 6:26 pm
by RonnyK
Stone,
what version of CMSMS and of NMS?
Ronny
Re: NMS
Posted: Wed Oct 17, 2007 6:37 pm
by stone
NMS 1.0.0 and CMS MS 1.1.4
Re: NMS
Posted: Wed Oct 17, 2007 6:38 pm
by calguy1000
You were on the IRC channel but left about 5 minutes too early.
I just tested NMS and it worked fine.
However, when creating a message NMS's default template is for an HTML message if you want a text message you need to delete all of the html formatting stuff.
Re: NMS
Posted: Wed Oct 17, 2007 7:03 pm
by stone
If I delete all HTML and I write a Text mail i get a form failure see the screenie, if i make none text message the message get out but it cames in HTML back to the user
Edit: Example for the Mail that comes with none text message hallo
das ist eine Test Mail
Hoffe das funzt auf diesem wege
that arrives then. But I want normal text and see the screen what I get.
Re: NMS
Posted: Wed Oct 17, 2007 8:10 pm
by babulski
You're using the TINYMCE-Editor, it produces these tags (
etc. ) automatically.
While Editing turn WYSIWYG off -- or switch to Source-Code-Mode (button named 'HTML') and enter your text.
This will work. For sure.

Re: NMS
Posted: Wed Nov 28, 2007 4:02 pm
by carasmo
open the NMS.module.php
find
function DisplayCompose($id, &$params, $returnid)
on line 1184 there's the line
Code: Select all
$message_text = $this->GetPreference('default_message_template','');
change it to
Code: Select all
$message_text = $this->GetPreference('','');
I have not tested this as I am not using this module. It's pretty buggy to me and it doesn't allow the choice to use Html OR text for the user, so I switched to MailChimp. CMS is good for its core and for some of the more popular modules, but this module always gave me problems (just my opininon).
Re: NMS
Posted: Fri Nov 30, 2007 7:13 am
by OCStingFan
I am new to CMSMS but everyday it continues to impress me. This Forum has become a favorite stomping ground to browse on my iPhone when I have some down time, and of course when I am working on a site and get stumped. I installed the NMS 1.0.1 on CMSMS 1.2 (NMS 1.0.2 produced an XML parsing error when I tried installing it) this morning and I explored it a bit. I love it's straightforward management interface.
I noticed the same problem described by the Stone/original poster in this thread. The replies provide advice on getting a text formatted message to successfully email out, but what about an HTML message. This is default and this is what I would like to use, but I got an error message when trying to test it. That's when I tried the text message and noticed the same problem as Stone. However, what I really want is to figure out how to make HTML message sending work.
Carasmo, does your modification to the php file rectify this as well? I'm not clear on what your code mod does.
Thanks.
Re: NMS
Posted: Fri Nov 30, 2007 9:17 am
by OCStingFan
Okay, I figured out that NMS doesn't come with a layout template for the HTML message, so one has to go to the Layout > Templates section of the CMS Admin and create/copy a template for use with the newsletter. In that template, one must replace {content} with {$message_text} and adjust the layout in whatever way one wishes to position & render elements.
I did not see this in the NMS Help screen, although the info can be gleaned from perusing forum posts.