This modification is for an Enhanced Ticket Message Editor.
It will allow you to fully edit or completely delete any message in a ticket as well as the name of the author of any message. You can even toggle the "internal" status of operator messages. Only operators with "ME" privileges can edit messages. "ME" can be granted under the Users tab of the TTX Setup program at ../setup.cgi
It will work on any flavor of TTX v 2.24 and probably any version up to 3.0 but that's at your own risk.
12/14/09 - Tested in TTX 3.0 and found a few things missing from original instructions.Features:1. Display of ticket number, number of message, and total number of messages in ticket.
2. Links to navigate or scroll through all messages in a ticket.
3. Edit the name associated with the message.
4. Change the "internal" status of Operator messages.
5. Optionally add an "
edited by" notation.
6. Optionally add a reason for editing message. (only in conjunction with #5)
7. Full preview pane which shows (source) or (with edits); "(source)" is displaying what's saved in the ticket; "(with edits)" is displaying what your changes
will look like.
8. Color of preview matches scheme of ticket... customer, operator, or internal.
9. Delete messages.
10. Edit multiple messages without closing window.
11. Get a warning if you attempt to view the next message without saving your edits.
12. BBCode editor - you might have to make changes so that this editor functions with your version of TTXMarkup.pm
Buttons Explained:Save & Exit - quick and easy, make your edits, save, and close the pop-up window all at once.
Save - save your edits to the ticket but keep the pop-up open for additional editing.
Preview - preview your edits in the pane below.
Delete - delete this message from the ticket; after asking for confirmation, deletes message, and closes pop-up.
Revert - discard your edits (before saving) and go back to original ticket message; will keep pop-up open.
Exit - closes the pop-up without saving anything.
"edit message" link in ticket only shows for operators with "ME" privileges:

The pop-up editor window (showing a customer message):

The pop-up editor window (showing an operator message):
