How can you modify the outgoing messages in Sugar? More specifically, in the bug tracker, when the user gets the "assignment" e-mail, I want it to list the Account name - I'm surprised the default version does not do that.
SugarCE6 on WIMP
How can you modify the outgoing messages in Sugar? More specifically, in the bug tracker, when the user gets the "assignment" e-mail, I want it to list the Account name - I'm surprised the default version does not do that.
SugarCE6 on WIMP
Bumpy Bumpy
I have found notification emails are written in \include\en_us.notify_template.html file. I tried to override this file but not worked.
Can we modify contents directly?
is it Upgrade safe ?
Thanks,
Ashu
Hi
you can copy the file:
en_us.notify_template.html to custom/include/language/en_us.notify_template.html
I think there was a bug for versions <6.1 but not sure.
you can add more variables to the message by altering the following function in modules/bugs/Bug.php
Code:function set_notification_body($xtpl, $bug) { global $mod_strings, $app_list_strings; $bug->set_release(); $xtpl->assign("BUG_SUBJECT", $bug->name); $xtpl->assign("BUG_TYPE", $app_list_strings['bug_type_dom'][$bug->type]); $xtpl->assign("BUG_PRIORITY", $app_list_strings['bug_priority_dom'][$bug->priority]); $xtpl->assign("BUG_STATUS", $app_list_strings['bug_status_dom'][$bug->status]); $xtpl->assign("BUG_RESOLUTION", $app_list_strings['bug_resolution_dom'][$bug->resolution]); $xtpl->assign("BUG_RELEASE", $bug->release_name); $xtpl->assign("BUG_DESCRIPTION", $bug->description); $xtpl->assign("BUG_WORK_LOG", $bug->work_log); $xtpl->assign("BUG_BUG_NUMBER", $bug->bug_number); return $xtpl;
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks