Problem Description
I am developing a plugin for **comments and ratings of resources** in moodle, so I figuered out that it is activity module type of plugin.
My goal is to enable students to rate resources and comment them but i can't find a way to display my star rating on a *`course/view.php?id=x`* page, where x is id of course. So basically, i want my plugin to add something like this:
![enter image description here][1]
I did research on https://docs.moodle.org/dev/NEWMODULE_Documentation, but there are no examples of plugins which add any html elements to the page mentioned above, and i couldnt find a way on my own of accessing course page view from activity module plugin. Is there a way i can achieve that?
My moodle version is 3.01
[1]: https://i.sstatic.net/sjRDc.png
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?