Is there a way to edit what is in the email that goes out as a notification? I can't seem to find that in the UI or in the module.

Comments

jeremy’s picture

The module itself does not expose a GUI to allow you to do this. You could write a module that implements the mail_alter hook, or you could over ride the default messages by setting the appropriate variables (for example in your settings.php).

Take a look at function _jobtrack_mail_text() in jobtrack.module. You can over ride the message subject or body by setting one or more of the following variables:

  • jobtrack_mail_ticket_new_subject
  • jobtrack_mail_ticket_new_body
  • jobtrack_mail_ticket_comment_new_subject
  • jobtrack_mail_ticket_comment_new_body

I'll leave this issue open until this is documented.

jeremy’s picture

Status: Active » Fixed

I have committed MAIL.txt to the current development branch, documenting JobTrack's email integration and how to edit the email notification text using settings.php.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.