Default Text for NMS Messages

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
tmk
Forum Members
Forum Members
Posts: 25
Joined: Sun Sep 23, 2007 4:07 am

Default Text for NMS Messages

Post by tmk »

Maybe I'm dense or something, but I'm trying to set the default text when I create a new message.

By default it comes up with that jumbo "Hello {$username}" that wrapped in an tag.

I've looked for it all over the place, the only place I've found it is at about line 42 in NMS.module.php

I've edited it out, but it persists when I create a new message!

I've looked in the database, can't seem to find it there...

Either it's tucked away somewhere least expected or my computer is posessed.

Any Ideas out there?
volume
Forum Members
Forum Members
Posts: 15
Joined: Tue May 30, 2006 5:45 pm

Re: Default Text for NMS Messages

Post by volume »

I was given the following edit a while ago...

What you can do is change this line (in NMS.module.php):
Code:

$params['message_text'] = $this->GetPreference('default_message_template','');

to

Code:

$params['message_text'] = $this->default_message_template;


Then everything should work fine.
And it did!

Full email here > http://forum.cmsmadesimple.org/index.ph ... l#msg27710
Post Reply

Return to “Modules/Add-Ons”