Trigger refresh of custom course format after viewing course module

Trigger refresh of custom course format after viewing course module

by Mark Johnson -
Number of replies: 1
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

In our custom course format, I've successfully displayed a list of course modules with automatic and manual completion checkboxes.  However, when I click on a course module which has automatic completion on view, when I go back to the course screen it does not refresh and still shows the module incomplete.  If I manually refresh, it correctly shows as completed.

When I do the same on a course course format, the course is refreshed when I go back from the course module to the course screen.  Is there something I can do in my course format to trigger the same behaviour?

Average of ratings: -