Custom Message Widget

Overview

This widget enables users to configure a custom message for display on the Portal. Apart from the message, users can also configure a Title, for the custom message(s) section.

Configuring Custom Message

  1. Login to Portal Administration.
  2. Click Edit in the selected portal's row in the Available Portals table. 
  3. Click Configuration. 
  4. Scroll to the lines:
    <home>
    <customMessage>
  5. Make changes to the widget as described in the table "Configure Widget Custom Message".
  6. Click Save.  

XML Section

Description

Example

<home>

<customMessage>

</customMessage>

 

 

The Custom Message widget can be implemented in multiple instances per portal. A unique ID must be assigned to each instance of the widget.

Enable the widget by setting enabled= "true".

Disable the widget by setting enabled="false".

Type text or HTML code for the message.

HTML code used for the message, must be "escaped" by entering it between "<![CDATA[" and "]]>".

 

&#60;customMessage enabled="false" id="1"&#62;

&#60;message&#62;
&#60;![CDATA[

&#60;p&#62;Test&#60;/p&#62;]]&#62;
&#60;/message&#62;

&#60;/customMessage&#62;

 

Or

&#60;customMessage enabled="true"&#62;

&#60;message&#62;

&#60;![CDATA[

&#60;p&#62;REMINDERS&#60;/p&#62;

&#60;ul&#62;

&#60;li&#62;Important Reminder 1&#60;/li&#62;

&#60;/ul&#62;

&#60;/td&#62;

&#60;/tr&#62;

&#60;/table&#62;

&#60;/div&#62;

]]&#62;

&#60;/message&#62;

&#60;/customMessage&#62;

Table : Configure Widget Custom Message

Configuring the Custom Message - Title

  1. Login to Portal Administration.
  2. Click Edit in the selected portal's row in the Available Portals table.
  3. Click Language to see the &#60;language&#62;.xml file. 
  4. Scroll to the line:
    &#60;customMessage_1_title&#62;My Custom Message&#60;/customMessage_1_title&#62;
  5. Make changes to the title as described in the table "Configure Title".
  6. Click Save. 

Sample XML Code: Do not change

Sample XML Code : Do change to your preferred language

from

to

&#60;customMessage_1_title&#62;My Custom Message&#60;/customMessage_1_title&#62;

&#62; My Custom Message &#60;

&#62;Message of the Day&#60;

Table : Configure Title

Note: The default is en-US.XML. Moxie does not provide support or assistance with code in "Portal custom widgets". Inclusion of any custom code, translation, and maintenance or troubleshooting of such changes become the sole responsibility of the customer.