Create widget definitions

Aspen system administrators can create new widget definitions to add to the default list of widgetsClosed in Aspen. For example, you might create a widget definition that displays a custom school news feed.

To create a new widget definition:

  1. Log on to the District view.
  2. Click the Admin tab.
  3. Click the Widget Definitions side-tab.
  4. On the Options menu, click Add. The New Widget Definitions page appears.
  5. Type the Title and ID of the widget.
  6. Note: You must prefix the ID with external_

  1. Select the Disabled checkbox for an already defined widget to prevent users from adding that widget to their pages.
  2. Select the Custom checkbox.
  3. Click Edit icon. to write the widget using HTML and/or Javascript, or Upload icon. to upload the content.
  4. In the Default position field, type one of the following plus a numeral to indicate where the widget will appear:
    • top
    • left
    • right

    Note: The numbers aren't as important as the relationship between them. For example, left2 is above left4. All top widgets span two columns.

  1. Select the Allow on class pages? checkbox to allow users to add this widget to class pages.
  2. Note: To view the list of default widgets that can be added to a Class page, go to the Widget Definitions side-tab. The list of widgets appears. Look at the Allow on class pages? column. You may need to add it to your field set.

  1. Click Save.