Page 2 of 3
Re: NMS - Anyone else having probs making messages?
Posted: Fri Mar 02, 2007 11:00 pm
by docomo
Thanks Chris, that fixed my problem a well.
Just copied my original template, created a new one (just for newsletters) and replace {content} with {$message_text}.
Cheers
Michael
Re: NMS - Anyone else having probs making messages?
Posted: Tue Mar 06, 2007 10:21 am
by chris..
I'm still playing around with NMS and I found another bug :
Stylesheets associated to my mail template are the same as my default site template, that's not what I want.
Like I said I did a duplicate of my default site template but I made another stylesheet just for it and it is not appearing in my mail source code (links to stylesheets are the same as my default layout).
Does someone understand what I'm talking about ?
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 6:39 am
by Gregor
HI,
I'm playing around with NMS, however I'm not able to send a nice looking message. What I receive in MS-Office looks like this:
I have not changed the template where you were talking about. Where can I find that template? As far as I can see, it is not in 'Layouts -> Template' neither a stylesheet.
Thanks for your help,
G
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 11:24 am
by chris..
Create a new template (or duplicate an existing one) just as usual "Layout>Template" and just replace {content} with {$message_text}. Then go to "Modules>NMS>Message" where you can choose the sending method : text, html, template. Choose your template freshly created and you're on (actually you should so).
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 12:04 pm
by Gregor

Great tip! It works!!
Is there a way to create a default message in Dutch and save it, so an editor does not have to rewrite a standard tekst? It would also be handy to set a default template. Any suggestions?
Thanks,
G
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 1:10 pm
by chris..
I'm not sure to understand what you're talking about :
- Your mail message is saved in NMS interface (and you can save as many messages as you want)
- You may possibly write text directly in your template message.
Is it what you're asking ?
-----------------------------------------
For my pending question (stylesheet one), I've deleted the {stylesheet} tag in my NMS template and embeded directly styles needed into head :
Code: Select all
{literal}
<style>
AllMyNeededStyles
</style>
{/literal}
It is the only way to avoid going crazy trying to set font size or color the way you really want it.
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 1:32 pm
by Gregor
@Chris: I partly asnwers my question. If I create a new message, than it comes up in Englih instead of Dutch. So I'd like to modify the standard message ant transform it into a Dutch message. In that way one does not need to remove the English text, and can start with a new message in Dutch.
Sorry, can't help you with your pending question. One suggestion comes up, did you manage to 'connect' your new stylesheet to your template?
Gregor
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 2:05 pm
by chris..
Oooook
So you'll have to modify sources (yoursite/modules/NMS/NMS.module.php) at line 39 : $default_message_template. The twenty lines below are the ones.
Hope you know a little Html.
And of course I connected css. But look at the sources of your newsletter in Outlook. They are the same as your default template, even if you change css connection.
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 2:47 pm
by Gregor
Thanks Chris. It would be a challenge to make a language file that contains the hard coded text. This would make it flexible to use in various language. Other point, what if an upgrade comes... I have lost all my translating work

Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 3:36 pm
by chris..
I don't know the developper of this module. We could ask him, as NMS seems to be quite used by CMSMS users.
Maybe is he reading this line at the moment.
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 4:18 pm
by calguy1000
Gregor wrote:
@Chris: I partly asnwers my question. If I create a new message, than it comes up in Englih instead of Dutch. So I'd like to modify the standard message ant transform it into a Dutch message. In that way one does not need to remove the English text, and can start with a new message in Dutch.
Sorry, can't help you with your pending question. One suggestion comes up, did you manage to 'connect' your new stylesheet to your template?
Gregor
Unfortunately, NMS is a little behind all of my newer modules. In my newer modules, I have the ability to edit and override the default templates (as well as restore them). NMS doesn't have that yet. It's possible to do (yet another tab, text area, and a couple more buttons). But I haven't had much of an opportunity as of late as I've been trying to focus on paid work, and getting more paid work.
There are lots of things I'd like to do with NMS, including:
= Better template support
= Bounce Handling
= Better documentation
= Improved handling of the temp table (at the very least we need a button or something to remove it and
reset any jobs). Ideally I'd like to get rid of it all together it'd be much faster if I could
= Integration with FEU
= Optimize it for performance and memory usage even more
Hopefully I'll be able to get to it soon.
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 7:21 pm
by streever
Can NMS currently let users choose if they want text or html e-mails? That is a big request of clients of mine for newsletters, but I can't find that control, if it's there.
Obviously there is other stuff on your plate, so don't take it as a request to build it, I'm just wonderin' if it exists and I'm not smart enough to see it

Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 7:22 pm
by calguy1000
No, currently the administrator decides if he's going to send a text or an html message. And there's no way to edit dual content, etc.
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 7:32 pm
by chris..
To 10:18's post :
Even for non portal sites, a newsletter becomes necessity and is important for the choice of a CMS. I don't (wanna) know other CMS than CMSMS any more.
So, many thanx for your newsletter module,
You're just talking about comfort, NMS is functional, and that's what I (all of us) expect. We, as users, can do part of the job too (maybe not coding, but -you know- some kind of DIY newsletter).
And I'd like to think that everyone understands you have to focus on paid work and, maybe, familly stuffs.
I'll applaud to you right after this post,
happy worky !
Re: NMS - Anyone else having probs making messages?
Posted: Thu Mar 08, 2007 8:06 pm
by RonnyK
Streever,
what you can do is create two distribution lists to which people can subsribe, one for HTML and one regular, if a mail has to be sent, you can sent it twice, one to each distribution-list with the required styling.
Ronny