You are here

Editing custom widgets

  1. Edit a custom widget
  2. Setting properties
  3. Adding Content
  4. Setting release conditions

Edit a custom widget

  1. On the My Home page or a course homepage, click Edit Course, then click Widgets.
  2. Click the Edit icon beside the widget you want to edit.
  3. Make your changes and click Save and Close.

Setting properties

The Properties tab allows you to define or change the widget name, description, and sharing settings (only available at the organization level).

Adding Content

The Content tab allows you to add your own custom HTML (with the exception of ASP) code and incorporate your organization or course’s specific colors, and logos when creating widgets.

Use the default content window of the HTML Editor to add content to your widget and click the Edit HTML Source icon in the bottom left corner to add HTML custom code.

Add HTML custom code to Content

  1. In the Content tab on the Edit Widget page, click the Edit HTML Source icon in the bottom left corner of the HTML Editor to open the HTML Source Editor.
  2. Add your HTML custom code. For example, the following HTML custom code can be used to create a YouTube solar car video feed using a “solar car” tag:
    <iframe height="350" width="265" frameBorder="0" src="/en/%3Ca%20href%3D"http://www.youtube.com/videos_list?tag=solar">http://www.youtube.com/videos_list?tag=solar car" marginHeight="0" marginWidth="0" name="videos_list" id="videos_list"></iframe>
  3. Click Update.
  4. Click Customize Widget Style to apply different styling options to the widget. See Editing widget display.

    Note To help you meet visual accessibility standards, there is a built-in WCAG (Web Content Accessibility Guideline) checker on the Widget Settings page. Be aware that if you choose a shade that does not meet these guidelines (for example, the contrast between the text color and the background color is too low), the check mark by WCAG AA will be replaced by a warning or error icon to alert you to possible accessibility issues.

  5. Click Save and Close.

Setting release conditions

The Release Conditions tab allows you to define a set of criteria that must be fulfilled (e.g. a user must be enrolled in the current org unit as a specific role). If a user doesn't meet the set release conditions they won’t see this widget on their homepage. For example, you could create a widget with links visible only to instructors.

The conditions most likely to apply to widgets are as follows:

  • Group Enrollment Users must belong to the selected group to see the widgets associated with the condition.
  • Org Unit Enrollment Users must belong to the selected org unit to see the widgets associated with the condition.
  • Section Enrollment Users must belong to the selected section within your course to see the widgets associated with the condition.
  • Role in Current Org Unit Users must be enrolled in your course as a certain role to see the widgets associated with the condition.

See also

Audience: