How to block 3/4 quick reply buttons or change the buttons behavior?

I have a customer that want to block 3 of the 4 quick reply buttons. Is this possible?

I only find a way to block all of them with the parameter blockQuickReply = true.

The reason why they want to block is because the mail address is always added.

In SO8 the SuperOffice-development have forgotten to reuse the System-parameter "Copy to contact by default ". Why is this parameter not used with the quick reply buttons?

Are there any way to change the behavior of these quick reply buttons so email-addresses are never added?

Or perhaps change them so that also the last attachment is included in the quick reply?

 

 

 

RE: How to block 3/4 quick reply buttons or change the buttons behavior?

This is probably not the best way to do it, but it is a way to do it:

Create an element above the messages element of the type "HTML text with Parser and database ".

And insert this in the "Body" pane:

<style type="text/css">
.HtmlMessages2_buttonRow button:nth-child(1),
.HtmlMessages2_buttonRow button:nth-child(2),
.HtmlMessages2_buttonRow button:nth-child(3) {
  display: none;
}
</style>

Worked for me, now the only button I see is "Add comment"

By: Simen Mostuen Iversen 9 Dec 2016

RE: How to block 3/4 quick reply buttons or change the buttons behavior?

Thanks.

Worked for me as well (:

By: Gustaf Cullin 9 Dec 2016

RE: How to block 3/4 quick reply buttons or change the buttons behavior?

Should anyone be interested, the solution of Simen was a succesful input for me to apply similar steps to "rename" the label of the Reply button (or any of the other message-buttons of course).

 

See code below:

<script>
$(document).ready(function() {
  $('#HtmlMessages2_buttonRow').children().each(function() {
    var textNode = $(this);
    textNode.text(textNode.text().replace("Reply", "Reply to customer"));
  });
});
</script>

 

By: Bas Kreijveld 27 Dec 2018