News gadget configuration

The News Gadget shows a message from administrators on user dashboards. To learn how users can add the gadget to their dashboards, refer to News gadget.

How to change the news gadget content

  1. Navigate to Left navigation  System Administration  News Gadget.

    News Gadget link on left hand navigation
  2. This opens the Search Static Resources form. Click Add New Resource button.

    Static Resource page for news gadget configuration
  3. Give the resource a Title, and enter SYSMSG as the code. Leave the Type as HTML.

    News gadget configuration
  4. In the text box, enter the message you want to shows in user dashboard news gadgets. This is a WYSIWYG (What You See Is What You Get) editor, with a toolbar that allows for formatting items, inserting tables or links. You can also click the source code button, circled in red, to edit the HTML directly. This must be done if adding an image. See Add images to news gadget.

    News gadget configuration
  5. Click Save at the bottom to save the changes.

Add images as a static resource

  1. Navigate to Left navigation  System Administration  News Gadget.

    News Gadget link on left hand navigation

    This opens the Search Static Resources form.

  2. Click Add New Resource.

    Static Resource page for news gadget configuration
  3. Fill in the upper part of the form:

    • Title: Give your image a title.

    • Code: Type a unique code for your image in all caps and with no spaces.

    • Type: Change to be File.

    News gadget configuration
  4. Click Choose File to select the image.

  5. Click Save at the bottom to save the changes.

  6. Click Back to Static Resources. The image is now added as a static resource.

Add images to news gadget

  1. Navigate to Left navigation  System Administration  News Gadget.

    News Gadget link on left hand navigation
  2. This opens the Search Static Resources form. Hover over, or click, the open link icon on the right of the image name to open the image.

    Button to click:

    Static Resource page for news gadget configuration with image resource

    Hovering over the button shows the URL at the bottom:

    Static Resource page for news gadget configuration with image resource 2
  3. Note the id of the resource. In this example URL cms/content?dispatch=onViewResource&resource.id=2, the id is 2.

  4. If a News Gadget needs to be created, add one. See How to change the news gadget content. Otherwise, ensure you are on the Search Static Resources form, and click a News Gadget.

  5. In the text editor, click the source code button in the tool bar.

  6. Add the following line where you want the image to show:

    <p><img src="cms/content?dispatch=onViewResource&resource.id=2" /></p>
  7. Replace the id (value 2 in the example) with the id noted in step 3.

  8. Repeat this process for each image you want to add. You can also add other HTML tags to add formatting, such as style, width, height.

  9. Click Save to save changes and close the source code editor.

  10. Click Save to save the gadget.

    Static Resource page for news gadget configuration with image resource 3