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
- Login to Portal Administration.
- Click Edit in the selected portal's row in the Available Portals table.
- Click Configuration.
-
Scroll to the lines:
<home>
<customMessage> - Make changes to the widget as described in the table "Configure Widget Custom Message".
- 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 "]]>".
|
<customMessage enabled="false" id="1"> <message> <p>Test</p>]]> </customMessage>
Or <customMessage enabled="true"> <message> <![CDATA[ <p>REMINDERS</p> <ul> <li>Important Reminder 1</li> </ul> </td> </tr> </table> </div> ]]> </message> </customMessage> |
Table : Configure Widget Custom Message
Configuring the Custom Message - Title
- Login to Portal Administration.
- Click Edit in the selected portal's row in the Available Portals table.
- Click Language to see the <language>.xml file.
-
Scroll to the line:
<customMessage_1_title>My Custom Message</customMessage_1_title> - Make changes to the title as described in the table "Configure Title".
- Click Save.
Sample XML Code: Do not change |
Sample XML Code : Do change to your preferred language |
|
from |
to |
|
<customMessage_1_title>My Custom Message</customMessage_1_title> |
> My Custom Message < |
>Message of the Day< |
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.