NMS - Anyone else having probs making messages?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
docomo
Forum Members
Forum Members
Posts: 44
Joined: Mon Jan 23, 2006 10:39 am

Re: NMS - Anyone else having probs making messages?

Post 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
chris..
Forum Members
Forum Members
Posts: 62
Joined: Thu Jun 01, 2006 8:03 pm

Re: NMS - Anyone else having probs making messages?

Post 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 ?
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: NMS - Anyone else having probs making messages?

Post 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:
        Hello Gregor        Have a good day, and again, welcome.            If you have received this message to this email address: gj.degraaf@hccnet.nl it means that you are a member of one or more    lists on our website.  You have a number of options, you can ignore the message (this is probably safe to do),    or you can:        Unsubscribe:  Just follow this link http://www.wsv-herkingen.nl/moduleinter ... 9155fc538f    Change your preferences:  Just follow this link http://www.wsv-herkingen.nl/index.php?m ... eturnid=15    Confirm that this is a valid email address by following this link: http://www.wsv-herkingen.nl/moduleinter ... 9155fc538f                  
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
chris..
Forum Members
Forum Members
Posts: 62
Joined: Thu Jun 01, 2006 8:03 pm

Re: NMS - Anyone else having probs making messages?

Post 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).
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: NMS - Anyone else having probs making messages?

Post 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
Last edited by Gregor on Thu Mar 08, 2007 12:11 pm, edited 1 time in total.
chris..
Forum Members
Forum Members
Posts: 62
Joined: Thu Jun 01, 2006 8:03 pm

Re: NMS - Anyone else having probs making messages?

Post 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.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: NMS - Anyone else having probs making messages?

Post 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
chris..
Forum Members
Forum Members
Posts: 62
Joined: Thu Jun 01, 2006 8:03 pm

Re: NMS - Anyone else having probs making messages?

Post 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.
Last edited by chris.. on Thu Mar 08, 2007 2:07 pm, edited 1 time in total.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: NMS - Anyone else having probs making messages?

Post 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 :(
chris..
Forum Members
Forum Members
Posts: 62
Joined: Thu Jun 01, 2006 8:03 pm

Re: NMS - Anyone else having probs making messages?

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: NMS - Anyone else having probs making messages?

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
streever

Re: NMS - Anyone else having probs making messages?

Post 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 :D
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: NMS - Anyone else having probs making messages?

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
chris..
Forum Members
Forum Members
Posts: 62
Joined: Thu Jun 01, 2006 8:03 pm

Re: NMS - Anyone else having probs making messages?

Post 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 !
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: NMS - Anyone else having probs making messages?

Post 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
Locked

Return to “CMSMS Core”