Moodle

[API proposal] modules printing to the course page

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Component/s: Course
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

This is a proposal for a new (small) API for activity modules that want to print to the course page to display some information.

Examples of such modules are:

Basically, if a module has a function called modname_print_coursemodule_info, then it gets called instead of displaying the module name and icon on the course page.

Issue Links

Activity

Hide
Clinton Graham added a comment -

My +1. It would be very helpful for this kind of functionality to replace the current hardcoded 'tracking' for forums in course/lib.php's print_section() function.

Another example would be the availability of resources to display a summary, or the availability of something like the Dialogue module to display an unread indicator.

Show
Clinton Graham added a comment - My +1. It would be very helpful for this kind of functionality to replace the current hardcoded 'tracking' for forums in course/lib.php's print_section() function. Another example would be the availability of resources to display a summary, or the availability of something like the Dialogue module to display an unread indicator.

People

Vote (4)
Watch (2)

Dates

  • Created:
    Updated: