where is messages_types defined?

I need to add a message type 'system' to the list.

Right now it's 'letter' and 'greeting' and I cannot find where messages_types is defined.  I can find references to it all over the place.  And a couple references to sys_messages_types, but I just can't find where it's defined.

Thanks!

 

http://www.mytikibar.com
Quote · 23 Feb 2013

It's just the value set in table: sys_messages and the field: type

All messages are stored in there with either type. just add a new message/row and set the type to system. Nothing is going to see it though unless you change/add stuff in templates/base/scripts/BxBaseMailBox.php and/or inc/classes/BxDolMailBox.php, because everything is looking for greeting or letter. You'll need to add all new code, I don't think it's as simple as you are hoping.

Quote · 23 Feb 2013

Thanks!

I added options to the type field by modifying the database.

And...

It worked!!!  Did exactly what I wanted.  lol

So I have check boxes for 'letter' 'greeting' and 'system'

http://www.mytikibar.com
Quote · 23 Feb 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.