The following documentation shows how to create a custom widget step by step.
Enter the course that you would like to create a widget for and click on Edit Course on the navigation bar.
Type a Name for the widget and an associated Description.
If you want to add a file, click the Insert Stuff button as show in the picture.
Once you have selected the file you would like, click Upload.
Within the customize screen change any of the following settings.
When you are done, click Save.
Add the content that you would like to within the contents box and then click Save.
Click Attach Existing or Create and Attach to add applicable release conditions.
*Note: Release Conditions are used for making an item appear only once a certain event occurs. For example, you would like for your custom widget to appear after a certain quiz has been attempted.
Click Save and Close when finished.
Your Custom Widget has now been created, but will not appear anywhere. To learn about this process go to the Add and Move Widgets on your Course Homepage tutorial.