Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

User:Michael Hughes\Displaying Custom Content on Course Page: Difference between revisions

From MoodleDocs
(Created page with "We wrote a new resource type to display information from our class catalogue. This we thought would be really nice to embed in the course page so that the information is disp...")
 
(No difference)

Latest revision as of 08:12, 9 August 2013

We wrote a new resource type to display information from our class catalogue.

This we thought would be really nice to embed in the course page so that the information is displayed inline (if the user wants it).

This is how we did it.

  1. Create a resource module and do all the wiring up (this is called mod_strathclasscat)
  2. Implement the the mod_strathclasscat_get_coursemodule_info() function