How to display activity completion in a book, label, or page

How to display activity completion in a book, label, or page

by Brian Merritt -
Number of replies: 2
Picture of Particularly helpful Moodlers

Moodle books, labels, pages, lessons etc often have urls pointing to other activities.

Is there a way to display whether or not an activity is completed to the right of the url link?

Example


Link to this forum    [activity completion status here]


Presumably some javascript and ajax calls might accomplish this - is there any example code?

Average of ratings: -
In reply to Brian Merritt

Re: How to display activity completion in a book, label, or page

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers

The OneTopic course format does that but only for hard links listed in topic/section descriptions (not for within other activities). But interesting thought. 

In reply to John Provasnik

Re: How to display activity completion in a book, label, or page

by Brian Merritt -
Picture of Particularly helpful Moodlers
If the authenticated users could get their webservice tokens without having to resend the username and password then that would help a lot as I could use webservices.