Page 1 of 1

Default Text for NMS Messages

Posted: Sun Sep 23, 2007 4:16 am
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?

Re: Default Text for NMS Messages

Posted: Tue Dec 04, 2007 4:14 pm
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