Hide "Send Message" enhancement

The Hide "Send Message" enhancement hides all instances of sending messages and the Messages page itself. This enhancement hides the messages feature in the following locations:

Userbar with Messages option hidden.

Sections in this article:

Considerations

Keep in mind the following when using the Hide "Send Message" enhancement:

  • Visibility
    • Members can use CSS to unhide the hidden Messages features. 
    • You and members can directly access the Messages page using its URL.
    • Messages/Send Messages are still visible when in the Control Panel and other admin pages.
  • Email: If a user gets a message, they also receive a notification email with a link to the message.

Set up the enhancement

To set up the enhancement for the first time, follow the steps below. To request this enhancement to be set up in your digital workplace, contact our Igloo team.

Add enhancement code to the header

Warning 

Adding code that contains errors can disrupt the functionality of your digital workplace. Use caution when adding code to this area.

Add the following code to the header of your digital workplace:

<!-- Hide "Send Message" enhancement begins -->
<link rel="stylesheet" type="text/css" href="https://enhancementsprod.blob.core.windows.net/enhancements/hideSendMessage.css" />
<!-- Hide "Send Message" enhancement ends -->

Configure the enhancement

There are no configuration options.

Turn the enhancement on

Once the code has been placed, the enhancement is ready to be used. If you have already turned the enhancement off following the steps in the Turn the enhancement off section below, you can remove <!-- before and --> after the middle line and save the changes to the header. 

Turn the enhancement off

To turn the enhancement off, you can remove the code entirely or add <!-- before and --> after the middle line, as shown below, and save the changes to the header. 

<!-- Hide "Send Message" enhancement begins -->
<link rel="stylesheet" type="text/css" href="https://enhancementsprod.blob.core.windows.net/enhancements/hideSendMessage.css" />
<!-- Hide "Send Message" enhancement ends -->

Changes to:

<!-- Hide "Send Message" enhancement begins -->
<!-- <link rel="stylesheet" type="text/css" href="https://enhancementsprod.blob.core.windows.net/enhancements/hideSendMessage.css" /> -->
<!-- Hide "Send Message" enhancement ends -->